pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feed(no subject)
2+ messages / 2 participants
[nested] [flat]
* (no subject)
@ 2005-10-07 01:55 Srinivas Tata <srtata@yahoo.com>
2005-10-07 02:20 ` Re: Kris Jurka <books@ejurka.com>
0 siblings, 1 reply; 2+ messages in thread
From: Srinivas Tata @ 2005-10-07 01:55 UTC (permalink / raw)
To: pgsql-jdbc
I am trying to use PostgreSQL and while trying to do a
prototype, I am getting an error.
In the TODO list (INSERT section), it is mentioned
that
"This is useful for returning the auto-generated key
for an INSERT. One complication is how to handle rules
that run as part of the insert."
Does it mean PostgreSQL does not support returning
autogenerated keys? I am using 803 version.
I am getting the following error:
org.postgresql.util.PSQLException: Returning
autogenerated keys is not supported.
at
org.postgresql.jdbc3.AbstractJdbc3Statement.executeUpdate(AbstractJdbc3Statement.java:138)
Thanks In Advance
Srinivas Tata
______________________________________________________
Yahoo! for Good
Donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re:
2005-10-07 01:55 (no subject) Srinivas Tata <srtata@yahoo.com>
@ 2005-10-07 02:20 ` Kris Jurka <books@ejurka.com>
0 siblings, 0 replies; 2+ messages in thread
From: Kris Jurka @ 2005-10-07 02:20 UTC (permalink / raw)
To: Srinivas Tata <srtata@yahoo.com>; +Cc: pgsql-jdbc
On Thu, 6 Oct 2005, Srinivas Tata wrote:
> I am trying to use PostgreSQL and while trying to do a
> prototype, I am getting an error.
> In the TODO list (INSERT section), it is mentioned
> that
> "This is useful for returning the auto-generated key
> for an INSERT. One complication is how to handle rules
> that run as part of the insert."
>
> Does it mean PostgreSQL does not support returning
> autogenerated keys? I am using 803 version.
>
That is correct, we don't support returning autogenerated keys at the
present time.
Kris Jurka
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2005-10-07 02:20 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-10-07 01:55 Srinivas Tata <srtata@yahoo.com>
2005-10-07 02:20 ` Re: Kris Jurka <books@ejurka.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox