I don't believe that is possible. You can only get the number of rows
updated from the do() or execute(). You will have to run a separate select
query after update to get that info.
Ilya
-----Original Message-----
From: Barry Hoggard
To: Sterin, Ilya
Cc: '[EMAIL PROTECTED] '
Sent: 07/16/2001 11:11 AM
Subject: Re: Returning a value from insert/update with DBD::Pg
On Mon, Jul 16, 2001 at 11:05:10AM -0600, Sterin, Ilya wrote:
> What are you trying to do. Placeholder binding? Are you asking if
you can
> run such a query? I don't see anything specific to Oracle here,
unless
> DBD::Pg does not support named placeholder, then you will have to use
?
> instead of :1
I want to get back the value of a field such as a timestamp or
sequence after performing an update. This is a mix of a postgres SQL
and DBD question I guess. I can't find examples of doing such a thing
in Postgres.
--
Barry Hoggard