Re: CREATE or REPLACE function pg_catalog.* - Mailing list pgsql-hackers

From Neil Conway
Subject Re: CREATE or REPLACE function pg_catalog.*
Date
Msg-id 1100129280.14777.36.camel@localhost.localdomain
Whole thread Raw
In response to Re: CREATE or REPLACE function pg_catalog.*  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: CREATE or REPLACE function pg_catalog.*  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thu, 2004-11-11 at 04:11, Tom Lane wrote:
> You can't override a builtin C function that way because there is a
> built-in map from function OID to builtin function address, and it's
> consulted before trying to look in pg_proc.
> 
> This behavior is not really open to negotiation

Then shouldn't we disallow the CREATE OR REPLACE FUNCTION?

-Neil




pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: multiline CSV fields
Next
From: Tom Lane
Date:
Subject: Re: CREATE or REPLACE function pg_catalog.*