Re: CREATE or REPLACE function pg_catalog.*

From: Neil Conway <neilc(at)samurai(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: John Hansen <john(at)geeknet(dot)com(dot)au>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CREATE or REPLACE function pg_catalog.*
Date: 2004-11-10 23:28:00
Message-ID: 1100129280.14777.36.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-11-10 23:42:25 Re: CREATE or REPLACE function pg_catalog.*
Previous Message Andrew Dunstan 2004-11-10 23:10:46 multiline CSV fields