X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C0369329E41 for ; Thu, 23 Sep 2004 06:40:58 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 61235-10 for ; Thu, 23 Sep 2004 05:40:52 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id 5F14D329E3C for ; Thu, 23 Sep 2004 06:40:50 +0100 (BST) Received: (qmail 15966 invoked by uid 1112); 23 Sep 2004 05:40:42 -0000 Date: Thu, 23 Sep 2004 00:40:42 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: "Jaroslaw J. Pyszny" Cc: pg@fastcrypt.com, pgsql-jdbc Subject: Re: Auto-increment serial (Postgresql JDBC driver w/ In-Reply-To: <1095908898.30959.5.camel@lx.siec> Message-ID: References: <1095725344.10857.107.camel@lx.siec> <1095794747.18680.23.camel@lx.siec> <1095798675.1557.122.camel@localhost.localdomain> <1095807031.1556.129.camel@localhost.localdomain> <1095880271.22986.37.camel@lx.siec> <1095908898.30959.5.camel@lx.siec> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/157 X-Sequence-Number: 11047 On Wed, 23 Sep 2004, Jaroslaw J. Pyszny wrote: > W li=B6cie z sro, 22-09-2004, godz. 21:59, Kris Jurka pisze:=20 > > On Wed, 22 Sep 2004, Jaroslaw J. Pyszny wrote: > [...] >=20 > second patch >=20 I've applied the ResultSetMetaData.isAutoIncrement part of this patch, but you changed what you were doing in DatabaseMetaData and I wanted to discuss that first. Now you are adding the serial pseudotypes to the getTypeInfo results. 1) With the addition of the new types, should we only return true for=20 AUTO_INCREMENT on the serial types and not the integer types? 2) Is it necessary to return all four versions of the types (serial,=20 serial4, bigserial, and serial8)? To me this seems to just add confusion= =20 and perhaps we should just pick a pair of these to use. 3) If we are going to add these as valid types, it seems we should alter=20 DatabaseMetaData.getColumns to return "serial" for the TYPE_NAME column as= =20 well. Kris Jurka