[HACKERS] PostgreSQL 7.3: help on new CREATE TYPE

2002-09-17 Thread Jerome Chochon
Hi all.   I have read the last version of PostgreSQL (7.3 beta) and found that the second version of CREATE TYPE is very interesting.   So we can create a type that look like a RECORD. For example: CREATE TYPE adress AS (number int, street text, country VARCHAR);   But can i use this type in

Re: [HACKERS] PostgreSQL 7.3: help on new CREATE TYPE

2002-09-17 Thread Jerome Chochon
d for writing stored procedures and functions that > return sets. > > eg. CREATE FUNCTION foo() RETURNS setof adress > AS '...'; > > Sort of thing... > > Chris > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Be