That's nice explanation. Thanks Shane.
On Thu, Aug 27, 2009 at 2:28 PM, Shane Ambler <pgsql(at)sheeky(dot)biz> wrote:
> Jignesh Shah wrote:
>> Thanks I will try it today and get back here in case of any problems. I
>> could see "CREATE OR REPLACE" in every trigger example. I am wondering why
>> we need REPLACE? What is it purpose?
> It is fairly common to modify functions several times before they are
> finalised. Using OR REPLACE simply allows you to do it in one step,
> instead of DROP FUNCTION... CREATE FUNCTION... every time you change
> The OR REPLACE is only an option, you don't have to use it if you don't
> want to.
> Shane Ambler
> pgSQL (at) Sheeky (dot) Biz
In response to
pgsql-novice by date
|Next:||From: Jignesh Shah||Date: 2009-08-27 10:14:31|
|Subject: Re: Perl trigger not working|
|Previous:||From: Shane Ambler||Date: 2009-08-27 08:58:27|
|Subject: Re: Install new perl test function in PostgreSQL|