Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 32AB99FB1EF for ; Mon, 25 Sep 2006 15:59:37 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 36103-04 for ; Mon, 25 Sep 2006 15:59:34 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.logix-tt.com (mail.logix-tt.com [212.211.145.186]) by postgresql.org (Postfix) with ESMTP id 87ECE9F9F47 for ; Mon, 25 Sep 2006 15:59:32 -0300 (ADT) Received: from kingfisher.intern.logix-tt.com (p549D2185.dip0.t-ipconnect.de [84.157.33.133]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.logix-tt.com (Postfix) with ESMTP id 99461656BE for ; Mon, 25 Sep 2006 21:01:52 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by kingfisher.intern.logix-tt.com (Postfix) with ESMTP id 0EB36181AC330 for ; Mon, 25 Sep 2006 20:59:33 +0200 (CEST) Message-ID: <45182714.8030800@logix-tt.com> Date: Mon, 25 Sep 2006 20:59:32 +0200 From: Markus Schaber Organization: Logical Tracking and Tracing International AG, Switzerland User-Agent: Thunderbird 1.5.0.5 (X11/20060812) MIME-Version: 1.0 To: "pgsql-jdbc@postgresql.org" Subject: Re: ResultSetMetaData.getTableName() == null References: <000001c6e0d0$307437a0$8602a8c0@METALEX> In-Reply-To: <000001c6e0d0$307437a0$8602a8c0@METALEX> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.202 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200609/101 X-Sequence-Number: 15819 Hi, Alex, Alex Stienstra wrote: > I'am surprised that PostgreSQL doesn't pass the table informatie to the > client. Susprised, since for example the library PHP (pg_field_table) is > using, does pass on this information. I'am quite sure that this library > function is based on the same API as the JDBC implementation is. AFAICS, it does pass _table_ information, but not alias information. Are you shure the PHP library does show you alias information? Is it using V2 or V3 protocol under the hoods? Thanks, Markus -- Markus Schaber | Logical Tracking&Tracing International AG Dipl. Inf. | Software Development GIS Fight against software patents in Europe! www.ffii.org www.nosoftwarepatents.org