Re: Table functions and AS clauses ... - Mailing list pgsql-hackers

From Joe Conway
Subject Re: Table functions and AS clauses ...
Date
Msg-id 3EEF6059.8080500@joeconway.com
Whole thread Raw
In response to Table functions and AS clauses ...  (Hans-Jürgen Schönig <hs@cybertec.at>)
List pgsql-hackers
Hans-Jürgen Schönig wrote:
> However, my question is: Is there a way to implement it in a way that 
> does not depend on the remote data structure?
> Is there a way to get rid of the AS without having to define a type?

Unfortunately, no. The parse and planning stages need defined types, so 
waiting for the function to execute is too late. We've discussed it a 
time or two before (as recently as within the last week), but the 
conclusion has been that there is no easy answer to the problem.

Joe




pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Reordered .conf file ... need help with LC_vars
Next
From: Tom Lane
Date:
Subject: Re: Domains and function arguments