Re: insert within pl/pgsql procedures: NOVICE question ? - Mailing list pgsql-general

From Stephan Szabo
Subject Re: insert within pl/pgsql procedures: NOVICE question ?
Date
Msg-id 20020213142228.H10228-100000@megazone23.bigpanda.com
Whole thread Raw
In response to insert within pl/pgsql procedures: NOVICE question ?  (Jeff Anto <antojf2001@yahoo.fr>)
List pgsql-general
On Wed, 13 Feb 2002, [iso-8859-1] Jeff Anto wrote:

> Hi list,
>
> tedious experience:
> am I wrong or the optionnal syntax
> INSERT INTO foo(foo_col1) VALUES ('blahblah');
> dosen't work within a PLPGSQL-written function ?

It should, barring that you need to escape ' characters
inside plpgsql function declarations.




pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: insert within pl/pgsql procedures: NOVICE question ?
Next
From: Antonio Gennarini
Date:
Subject: Can't upgrade from 7.0 to 7.1. Script failure.