Re: Table functions and AS clauses ...

From: Joe Conway <mail(at)joeconway(dot)com>
To: Hans-Jürgen Schönig <hs(at)cybertec(dot)at>
Cc: pgsql-hackers(at)postgresql(dot)org, eg(at)cybertec(dot)at
Subject: Re: Table functions and AS clauses ...
Date: 2003-06-17 18:39:21
Message-ID: 3EEF6059.8080500@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-06-17 18:41:59 Re: Domains and function arguments
Previous Message Peter Eisentraut 2003-06-17 18:06:42 Re: Subtitles in postgresql docs SGML?