Re: Backend-internal SPI operations

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mike Mascari <mascarm(at)mascari(dot)com>
Cc: Jan Wieck <janwieck(at)yahoo(dot)com>, Mark Hollomon <mhh(at)nortelnetworks(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Backend-internal SPI operations
Date: 2000-08-30 18:41:59
Message-ID: 20370.967660919@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Mike Mascari <mascarm(at)mascari(dot)com> writes:
>> 1. Function Prototypes (CREATE FUNCTION ... AS NULL)
>> 2. Types

> Sorry. I forgot about function prototypes with arguments of
> user-defined types. Seems there's no magic bullet. :-(

Not necessarily --- there's a shell-type (or type forward reference,
if you prefer) feature that exists to handle exactly that apparent
circularity. Otherwise you could never define a user-defined type at
all, since you have to define its I/O procedures before you can do
CREATE TYPE.

I didn't study your proposal in detail, but it might work.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 2000-08-30 19:01:26 Re: Backend-internal SPI operations
Previous Message Mark Hollomon 2000-08-30 18:29:56 Re: New relkind for views

Browse pgsql-patches by date

  From Date Subject
Next Message Jan Wieck 2000-08-30 19:01:26 Re: Backend-internal SPI operations
Previous Message Mark Hollomon 2000-08-30 18:29:56 Re: New relkind for views