Re: can't get UPDATE ... RETURNING ... INTO ... to compile successfully

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Dale Harris" <itsupport(at)jonkers(dot)com(dot)au>
Cc: "'Alvaro Herrera'" <alvherre(at)commandprompt(dot)com>, "'Bill Moran'" <wmoran(at)collaborativefusion(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: can't get UPDATE ... RETURNING ... INTO ... to compile successfully
Date: 2008-08-20 02:02:35
Message-ID: 17705.1219197755@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Dale Harris" <itsupport(at)jonkers(dot)com(dot)au> writes:
> In the following documentation it advises that the UPDATE statement should
> be able to return a value into a variable in plpgsql.
> http://www.postgresql.org/docs/8.3/static/plpgsql-statements.html
> It works for the INSERT command, but not UPDATE.

As was already suggested, if you want help on this you are going to need
to exhibit a complete problem case. Blanket assertions that are
demonstrably false don't advance the cause for anyone.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Klint Gore 2008-08-20 02:17:24 Re: 8.3.3 win32 crashing
Previous Message Tom Lane 2008-08-20 01:44:55 Re: 8.3.3 win32 crashing