Re: BUG #2917: spi_prepare doesn't accept typename aliases - Mailing list pgsql-hackers

From Tom Lane
Subject Re: BUG #2917: spi_prepare doesn't accept typename aliases
Date
Msg-id 5723.1169759659@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #2917: spi_prepare doesn't accept typename aliases  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: BUG #2917: spi_prepare doesn't accept typename aliases  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
>> I see that SQL level prepare calls regprocin() to resolve type names, 
>> so maybe we should that for the PLs when calling SPI_prepare as well. 
> Of course, that should be regtypein()

[ squint... ] build_regtype_array seems a rather stupid bit of code.
How many hundreds of cycles is it expending to convert an OID to an OID?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: BUG #2917: spi_prepare doesn't accept typename aliases
Next
From: Tom Lane
Date:
Subject: Re: Implied Functional index use (redux)