From: Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Lista Postgres <pgsql-admin@postgresql.org>
Subject: Re: Adding a column with default value possibly corrupting a functional index.
Date: Sat, 16 Dec 2006 23:11:07 +0530
Message-ID: <a97c77030612160941v1b1ed253v91107e12781f2ff7@mail.gmail.com> (raw)
In-Reply-To: <a97c77030612160927u608b4b00td8d71ee442410b7f@mail.gmail.com>
References: <a97c77030612160824w102c2326n23706171ba8a6b3a@mail.gmail.com>
<501.1166288322@sss.pgh.pa.us>
<a97c77030612160927u608b4b00td8d71ee442410b7f@mail.gmail.com>
>
>
> Its declared immutable , it queries the same table , its recursive
> and it queries another custom function also.
>
fyi dir_name is a simple plperlu function.
my ($dir) = @_;
$dir =~ s/&/and/g;
$dir =~ s/&/and/g;
$dir =~ s/[^a-zA-Z0-9]+/_/g;
return $dir;
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-admin@postgresql.org
Cc: mallah.rajesh@gmail.com, tgl@sss.pgh.pa.us
Subject: Re: Adding a column with default value possibly corrupting a functional index.
In-Reply-To: <a97c77030612160941v1b1ed253v91107e12781f2ff7@mail.gmail.com>
References: <a97c77030612160824w102c2326n23706171ba8a6b3a@mail.gmail.com> <501.1166288322@sss.pgh.pa.us> <a97c77030612160927u608b4b00td8d71ee442410b7f@mail.gmail.com> <a97c77030612160941v1b1ed253v91107e12781f2ff7@mail.gmail.com>
* 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