Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id D63CF6326D9 for ; Tue, 21 Apr 2009 04:07:37 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 73462-04 for ; Tue, 21 Apr 2009 04:07:32 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from leary.csoft.net (leary.csoft.net [205.205.214.5]) by mail.postgresql.org (Postfix) with ESMTP id 4D5C563265D for ; Tue, 21 Apr 2009 04:07:33 -0300 (ADT) Received: by leary.csoft.net (Postfix, from userid 1112) id CA168A6EA; Tue, 21 Apr 2009 03:07:31 -0400 (EDT) Date: Tue, 21 Apr 2009 03:07:31 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Oliver Jowett cc: "j.random.programmer" , pgsql-jdbc@postgresql.org Subject: Re: Bug with duplicate column names via JDBC MetaData (ORDINAL_POSITION) In-Reply-To: <49D208CF.3020606@opencloud.com> Message-ID: References: <171323.40102.qm@web31106.mail.mud.yahoo.com> <49D208CF.3020606@opencloud.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.014 tagged_above=0 required=5 tests=AWL=0.014 X-Spam-Level: X-Archive-Number: 200904/76 X-Sequence-Number: 19523 On Wed, 1 Apr 2009, Oliver Jowett wrote: > I wonder if this is a problem with dropped columns again. > I doubt it, dropped columns never have a duplicate pg_attribute.attnum column. If he somehow managed to get two columns with the same name but different number that might be a possibility, but he's got two columns with the same number but different names. > (mr. random programmer, please tell us your JDBC driver version and > postgresql server version at least!) > He did mention these in his original email, I just trimmed it out. Kris Jurka