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

From Jeff Anto
Subject Re: insert within pl/pgsql procedures: NOVICE question ?
Date
Msg-id 20020213224516.35119.qmail@web20909.mail.yahoo.com
Whole thread Raw
In response to Re: insert within pl/pgsql procedures: NOVICE question ?  (Darren Ferguson <darren@crystalballinc.com>)
List pgsql-general
Well...

First, it was a trigger procedure,
Second, I used to get an
ERROR:  parser: parse error at or near "$1"
when triggered

BUT:
I didn't succesfully create a simpler
counter-example...
So I guess there is something wrong I cannot see in my
code "-{
and I apologize for that prematured question.

Jeff.

 --- Darren Ferguson <darren@crystalballinc.com> a
écrit : > You have not given us any information
regarding
> table type or error
> message that you are getting from the running of the
> function.
>
> If you provide this information then we might be
> able to help
>
> Darren
>
> 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 ?
> >
> > I (quickly) checked the idocs and didn't found
> > anything about that... so, amazing discovery or
> stupid
> > question ?
> >
> > Regards,
> > Jeff.
> >
> >
>
___________________________________________________________
> > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite
> et en français !
> > Yahoo! Mail : http://fr.mail.yahoo.fr
> >
> > ---------------------------(end of
> broadcast)---------------------------
> > TIP 3: if posting/reading through Usenet, please
> send an appropriate
> > subscribe-nomail command to
> majordomo@postgresql.org so that your
> > message can get through to the mailing list
> cleanly
> >
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.fr

pgsql-general by date:

Previous
From: Antonio Gennarini
Date:
Subject: Can't upgrade from 7.0 to 7.1. Script failure.
Next
From: Eric Webber
Date:
Subject: pgaccess failed, used to work