BUG #1988: keygen not implemented

From: "Mike Clements" <mikec(at)actional(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #1988: keygen not implemented
Date: 2005-10-22 20:33:43
Message-ID: 20051022203343.1FF05F0BEA@svr2.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 1988
Logged by: Mike Clements
Email address: mikec(at)actional(dot)com
PostgreSQL version: 8.0.3
Operating system: WinXP
Description: keygen not implemented
Details:

Create a table with an integer primary key using a sequence to automatically
assign values.
Connect to the database with a JDBC client.
Insert a row into the table using:
Connection.prepareStatement(sql, Statement.RETURN_GENERATED_KEYS);
The driver throws an exception saying this method is not yet implemented.
What it should do is create the prepared statement so when you execute it,
the returned ResultSet has the generated primary key.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Jari Aalto 2005-10-23 08:21:59 Re: BUG #1986: Please include ONE BIG .txt and .HTML file in *docs*.tar.gz
Previous Message Tom Lane 2005-10-22 19:27:21 Re: timezone offsets and documentation