summaryrefslogtreecommitdiff
path: root/src/pl/plpython/sql/plpython_schema.sql
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-09-02 12:30:01 +0000
committerBruce Momjian <bruce@momjian.us>2006-09-02 12:30:01 +0000
commit819f22a3022e246465361bb983070f3c92690b12 (patch)
tree3944dbcf8416fa6af24021672030adae79e16dc0 /src/pl/plpython/sql/plpython_schema.sql
parentb1620c538d75370f9210f552e75fe1c91ca3520d (diff)
downloadpostgresql-819f22a3022e246465361bb983070f3c92690b12.tar.gz
Allow PL/python to return composite types and result sets
Sven Suursoho
Diffstat (limited to 'src/pl/plpython/sql/plpython_schema.sql')
-rw-r--r--src/pl/plpython/sql/plpython_schema.sql10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/pl/plpython/sql/plpython_schema.sql b/src/pl/plpython/sql/plpython_schema.sql
index 1f5ee6eaea..c346c40381 100644
--- a/src/pl/plpython/sql/plpython_schema.sql
+++ b/src/pl/plpython/sql/plpython_schema.sql
@@ -42,3 +42,13 @@ CREATE INDEX xsequences_pid_idx ON xsequences(pid) ;
CREATE TABLE unicode_test (
testvalue text NOT NULL
);
+
+CREATE TABLE table_record (
+ first text,
+ second int4
+ ) ;
+
+CREATE TYPE type_record AS (
+ first text,
+ second int4
+ ) ;