diff options
| author | Robert Haas <rhaas@postgresql.org> | 2013-07-02 13:35:14 -0400 |
|---|---|---|
| committer | Robert Haas <rhaas@postgresql.org> | 2013-07-02 13:38:55 -0400 |
| commit | 3682025015390a8e802e0752589162db7bd70b5d (patch) | |
| tree | b72433fb328d27b2289204e2c19282de29633f22 /src/test/regress/output/create_function_1.source | |
| parent | 148326b9940c6f3aa554df83a70c7d4563f67d86 (diff) | |
| download | postgresql-3682025015390a8e802e0752589162db7bd70b5d.tar.gz | |
Add support for multiple kinds of external toast datums.
To that end, support tags rather than lengths for external datums.
As an example of how this can be used, add support or "indirect"
tuples which point to some externally allocated memory containing
a toast tuple. Similar infrastructure could be used for other
purposes, including, perhaps, support for alternative compression
algorithms.
Andres Freund, reviewed by Hitoshi Harada and myself
Diffstat (limited to 'src/test/regress/output/create_function_1.source')
| -rw-r--r-- | src/test/regress/output/create_function_1.source | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/regress/output/create_function_1.source b/src/test/regress/output/create_function_1.source index 61b87ed953..9761d127e1 100644 --- a/src/test/regress/output/create_function_1.source +++ b/src/test/regress/output/create_function_1.source @@ -47,6 +47,10 @@ CREATE FUNCTION set_ttdummy (int4) RETURNS int4 AS '@libdir@/regress@DLSUFFIX@' LANGUAGE C STRICT; +CREATE FUNCTION make_tuple_indirect (record) + RETURNS record + AS '@libdir@/regress@DLSUFFIX@' + LANGUAGE C STRICT; -- Things that shouldn't work: CREATE FUNCTION test1 (int) RETURNS int LANGUAGE SQL AS 'SELECT ''not an integer'';'; |
