Re: Adding a column with default value possibly corrupting a functional index.

From: "Rajesh Kumar Mallah" <mallah(dot)rajesh(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Lista Postgres" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Adding a column with default value possibly corrupting a functional index.
Date: 2006-12-16 17:41:07
Message-ID: a97c77030612160941v1b1ed253v91107e12781f2ff7@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

>
>
> 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/&amp;/and/g;
$dir =~ s/&/and/g;
$dir =~ s/[^a-zA-Z0-9]+/_/g;
return $dir;

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2006-12-16 17:53:05 Re: Adding a column with default value possibly corrupting a functional index.
Previous Message Rajesh Kumar Mallah 2006-12-16 17:27:02 Re: Adding a column with default value possibly corrupting a functional index.