From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bruce Momjian <pgman@candle.pha.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: Fri, 19 May 2000 19:39:38 +0200 (CEST)
Message-ID: <Pine.LNX.4.21.0005191337270.489-100000@localhost.localdomain> (raw)
In-Reply-To: <23678.958664512@sss.pgh.pa.us>
Tom Lane writes:
> What's the point of a notice? "You just deleted OID equals. Better
> luck with your next database." Either we think this is too dangerous to
> be allowed even to the dbadmin, or we don't.
I'd have to agree.
> Actually, isn't there a backend switch that you have to set in order to
> do *really* dangerous stuff (DML operations on the system classes, for
> example)? Maybe the right answer is to allow deletion of builtin
> function entries only when that's set.
You might be referring to pg_shadow.usecatupd, but that only covers direct
catalog updates. The postgres -O switch allows system schema changes, that
doesn't apply either.
Anyway, shouldn't you be able to do CREATE FUNCTION xxx (...) LANGUAGE
'internal'; to recreate it? (And that wouldn't actually require things
like oideq to be in pg_proc, would it?)
--
Peter Eisentraut Sernanders väg 10:115
peter_e@gmx.net 75262 Uppsala
http://yi.org/peter-e/ Sweden
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: peter_e@gmx.net, tgl@sss.pgh.pa.us, pgman@candle.pha.pa.us, gav@nlr.ru, mitch@venux.net
Subject: Re: lower() for varchar data by creating an index
In-Reply-To: <Pine.LNX.4.21.0005191337270.489-100000@localhost.localdomain>
References: <23678.958664512@sss.pgh.pa.us> <Pine.LNX.4.21.0005191337270.489-100000@localhost.localdomain>
* 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