Teodor Sigaev <[EMAIL PROTECTED]> writes:
> For some reason I wish to write C-function for SQL which returns set of
> composite type, but this type is defined function itself and composite type can
> be changed from call to call. So I can't define create type by 'CREATE TYPE'
> command.
Perhaps the RECORD stuff would help you? It's poorly documented, but
you could look at the code for SRFs to see how to use it.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?
http://archives.postgresql.org