X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id AF25E9FAA6E for ; Fri, 21 Jul 2006 11:20:06 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 53703-03 for ; Fri, 21 Jul 2006 14:20:03 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by postgresql.org (Postfix) with ESMTP id 4335C9FA65C for ; Fri, 21 Jul 2006 11:20:03 -0300 (ADT) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1G3vr2-0003AX-A1 for pgsql-jdbc@postgresql.org; Fri, 21 Jul 2006 16:19:48 +0200 Received: from 83.145.96.118 ([83.145.96.118]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Jul 2006 16:19:48 +0200 Received: from Marc.Herbert by 83.145.96.118 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Jul 2006 16:19:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Marc Herbert Subject: Re: DatabaseMetaData.getTables() is silently quoting table identifiers? Date: Fri, 21 Jul 2006 16:19:29 +0200 Lines: 19 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 83.145.96.118 User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4 (Jumbo Shrimp, linux) Cancel-Lock: sha1:nQwTEW/LTGVu4NgKTYwVpZ+IsRM= X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.633 tagged_above=0 required=5 tests=FORGED_RCVD_HELO, RCVD_NUMERIC_HELO, SPF_HELO_PASS, SPF_PASS X-Spam-Level: * X-Archive-Number: 200607/69 X-Sequence-Number: 15495 Marc Herbert writes: > But now if I use .getTables(null, null, "MY_TABLE", null) to ask > whether this table actually exists, the answer is "no" (empty) because > .getTables() acts like I quoted the MY_TABLE identifier. > > It's quite annoying to create a table and not be able to see it... > > Tested with postgresql-server.i686 8.0.7-1PGDG and 8.2dev-503 > Maybe this is a server-side issue? I finally did my archeology homework: Date: 2002-10-27 09:39:54 GMT Subject: DatabaseMetaData.getTables() problem