From: | Jeff Anto <antojf2001(at)yahoo(dot)fr> |
---|---|
To: | Darren Ferguson <darren(at)crystalballinc(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: insert within pl/pgsql procedures: NOVICE question ? |
Date: | 2002-02-13 22:45:16 |
Message-ID: | 20020213224516.35119.qmail@web20909.mail.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)crystalballinc(dot)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(at)postgresql(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-02-13 22:53:19 | Re: [GENERAL] Postgres 7.2 - Updating rows in cursor problem |
Previous Message | Antonio Gennarini | 2002-02-13 22:40:01 | Can't upgrade from 7.0 to 7.1. Script failure. |