Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id B74C2632CDA for ; Mon, 16 Nov 2009 03:33:12 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 87773-09 for ; Mon, 16 Nov 2009 07:33:00 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.postnewspapers.com.au (202-89-185-120.static.dsl.amnet.net.au [202.89.185.120]) by mail.postgresql.org (Postfix) with ESMTP id EB48A632BE4 for ; Mon, 16 Nov 2009 03:32:58 -0400 (AST) Received: from localhost (access [127.0.0.1]) by mail.postnewspapers.com.au (Postfix) with ESMTP id 841691E0459; Mon, 16 Nov 2009 15:32:53 +0800 (WST) X-Virus-Scanned: Debian amavisd-new at postnewspapers.com.au Received: from mail.postnewspapers.com.au ([127.0.0.1]) by localhost (access.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id F+JVILucFyYW; Mon, 16 Nov 2009 15:32:51 +0800 (WST) Received: from [10.1.1.6] (124-169-36-119.dyn.iinet.net.au [124.169.36.119]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Craig Ringer", Issuer "POST Certificate Authority" (verified OK)) by mail.postnewspapers.com.au (Postfix) with ESMTPSA id BA63D1E0458; Mon, 16 Nov 2009 15:32:51 +0800 (WST) Message-ID: <4B010020.8050405@postnewspapers.com.au> Date: Mon, 16 Nov 2009 15:32:48 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.1) Gecko/20090715 Thunderbird/3.0b3 MIME-Version: 1.0 To: ikorot@earthlink.net CC: pgsql-odbc@postgresql.org Subject: Re: Table creation References: <2354695.1258348341643.JavaMail.root@mswamui-valley.atl.sa.earthlink.net> In-Reply-To: <2354695.1258348341643.JavaMail.root@mswamui-valley.atl.sa.earthlink.net> X-Enigmail-Version: 0.97a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.185 tagged_above=-10 required=5 tests=BAYES_40=-0.185 X-Spam-Level: X-Archive-Number: 200911/13 X-Sequence-Number: 10062 On 16/11/2009 1:12 PM, ikorot@earthlink.net wrote: > Craig, > So, if I call both formats, i.e.: > > CREATE TABLE "foo1"...; > > CREATE TABLE Foo2....; > > what will SQLTables() return? I don't know the ODBC interface, so I can't usefully answer your question exactly without doing some digging. The actual tables created by PostgreSQL will be named "foo1" and "foo2" respectively. That's what'll be shown in INFORMATION_SCHEMA and in pg_catalog.pg_class . If SQLTables just enumerates the tables in the database, I expect it should return "foo1" and "foo2". -- Craig Ringer