Re: Proposal: anonymous composite types for Table Functions - Mailing list pgsql-hackers

From Joe Conway
Subject Re: Proposal: anonymous composite types for Table Functions
Date
Msg-id 3D40E835.6040601@joeconway.com
Whole thread Raw
In response to Re: Proposal: anonymous composite types for Table Functions (aka SRFs)  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-hackers
Christopher Kings-Lynne wrote:
> Or you could "parse" the function by retrieving the first row from the it
> and assuming that that's the function definition?
> 

There are a number of reasons why I don't think this is workable, but 
foremost, what happens if the function has side-effects, i.e. actually 
alters data somehow?

Joe



pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: Which casts should be implicit
Next
From: "Celestino I. Olalo Jr."
Date:
Subject: postgres on Linux SH3