| From: | Joe Conway <mail(at)joeconway(dot)com> |
|---|---|
| To: | pgsql-hackers <pgsql-hackers(at)postgreSQL(dot)org> |
| Subject: | Re: revised sample SRF C function; proposed SRF API |
| Date: | 2002-05-27 02:26:36 |
| Message-ID: | 3CF1995C.3020501@joeconway.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches |
Joe Conway wrote:
> Here is a revised patch for a sample C function returning setof
> composite. (Same comments as last time -- It is a clone of SHOW ALL as
> an SRF. For the moment, the function is implemented as contrib/showguc,
> although a few minor changes to guc.c and guc.h were required to support
> it.)
>
> This version includes pieces that may be appropriate for fmgr.c and
> fmgr.h, to hide some of the ugliness and facilitate writing C functions
> which return setof composite. The API is something like this:
>
Sorry -- I was a bit too quick with the last patch :-(. It generates a
"Cache reference leak" warning. This one is better.
Joe
| Attachment | Content-Type | Size |
|---|---|---|
| showguc.2002.05.26.2.patch | text/plain | 24.1 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Teodor Sigaev | 2002-05-27 08:35:26 | Re: strange update problem with 7.2.1 |
| Previous Message | Joe Conway | 2002-05-27 01:30:32 | revised sample SRF C function; proposed SRF API |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Joe Conway | 2002-05-27 05:05:49 | small dblink patch |
| Previous Message | Joe Conway | 2002-05-27 01:30:32 | revised sample SRF C function; proposed SRF API |