Re: RFC: listing lock status - Mailing list pgsql-hackers

From Joe Conway
Subject Re: RFC: listing lock status
Date
Msg-id 3D377A01.5060907@joeconway.com
Whole thread Raw
In response to Re: RFC: listing lock status  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Responses Re: RFC: listing lock status  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Christopher Kings-Lynne wrote:
> Out of interest - why do SRFs need to have a table or view defined that
> matches their return type?  Why can't you just create the type for the
> function and set it up as a dependency?
> 

The only current way to create a composite type (and hence have it for 
the function to reference) is to define a table or view.

We have discussed the need for a stand-alone composite type, but I think 
Tom favors doing that as part of a larger project, namely changing the 
association of pg_attributes to pg_type instead of pg_class (if I 
understand/remember it correctly).

Joe



pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: RFC: listing lock status
Next
From: Tom Lane
Date:
Subject: Re: RFC: listing lock status