From 819f22a3022e246465361bb983070f3c92690b12 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 2 Sep 2006 12:30:01 +0000 Subject: Allow PL/python to return composite types and result sets Sven Suursoho --- src/pl/plpython/sql/plpython_schema.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/pl/plpython/sql/plpython_schema.sql') 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 + ) ; -- cgit v1.2.1