From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: gav <gav@nlr.ru>
Cc: Mitch Vincent <mitch@venux.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: Re[2]: lower() for varchar data by creating an index
Date: Thu, 18 May 2000 11:28:37 -0400 (EDT)
Message-ID: <200005181528.LAA19588@candle.pha.pa.us> (raw)
In-Reply-To: <23453.958662047@sss.pgh.pa.us>
> Alex Guryanow <gav@nlr.ru> writes:
> > my-db=> DROP FUNCTION lower(varchar);
> > ERROR: RemoveFunction: function "lower" is built-in
>
> You can get rid of it by deleting the pg_proc tuple directly. I wonder
> though whether RemoveFunction isn't being overly protective --- is there
> any good reason not to allow people to delete built-in functions?
> Obviously you have only yourself to blame if you delete integer equals
> or something equally critical ;-) ... but there are a boatload of
> built-ins that are by no means critical. Comments anyone?
I would throw a notice and keep going. Should I commit the change?
--
Bruce Momjian | http://www.op.net/~candle
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: pgman@candle.pha.pa.us, tgl@sss.pgh.pa.us, gav@nlr.ru, mitch@venux.net
Subject: Re: lower() for varchar data by creating an index
In-Reply-To: <200005181528.LAA19588@candle.pha.pa.us>
References: <23453.958662047@sss.pgh.pa.us> <200005181528.LAA19588@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox