Re: revised sample SRF C function; proposed SRF API

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: revised sample SRF C function; proposed SRF API
Date: 2002-06-09 15:59:55
Message-ID: 5786.1023638395@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Joe Conway <mail(at)joeconway(dot)com> writes:
> Returning GUC variable "SHOW ALL" results as a query result has been
> discussed before, and I thought there was agreement that it was a
> desirable backend feature.

So it is, but I had expected it to be implemented by changing the
behavior of SHOW, same as we did for EXPLAIN.

> Is the approach in my patch still too ugly to allow a builtin SRF (set
> the function return type to 0 in pg_proc.h, create a view and fix the
> pg_proc entry during initdb)?

Too ugly for my taste anyway ...

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc G. Fournier 2002-06-09 16:28:22 Re: Project scheduling issues (was Re: Per tuple overhead,
Previous Message Dave Page 2002-06-09 10:38:26 Re: Roadmap for a Win32 port

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2002-06-09 19:46:21 Re: Patch for current_schemas to optionally include implicit schemas
Previous Message Joe Conway 2002-06-09 02:32:04 Re: revised sample SRF C function; proposed SRF API