Re: Backend-internal SPI operations - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Backend-internal SPI operations
Date
Msg-id 20370.967660919@sss.pgh.pa.us
Whole thread Raw
In response to Re: Backend-internal SPI operations  (Mike Mascari <mascarm@mascari.com>)
List pgsql-hackers
Mike Mascari <mascarm@mascari.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


pgsql-hackers by date:

Previous
From: Jan Wieck
Date:
Subject: Re: Backend-internal SPI operations
Next
From: "Mark Hollomon"
Date:
Subject: Re: Backend-internal SPI operations