pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <craig@postnewspapers.com.au>
To: ikorot@earthlink.net
Cc: pgsql-odbc@postgresql.org
Subject: Re: Table creation
Date: Mon, 16 Nov 2009 15:32:48 +0800
Message-ID: <4B010020.8050405@postnewspapers.com.au> (raw)
In-Reply-To: <2354695.1258348341643.JavaMail.root@mswamui-valley.atl.sa.earthlink.net>
References: <2354695.1258348341643.JavaMail.root@mswamui-valley.atl.sa.earthlink.net>

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



view thread (4+ messages)

Message-ID: <4B010020.8050405@postnewspapers.com.au>
Permalink:  ../4B010020.8050405@postnewspapers.com.au/
Also on:    postgresql.org/message-id/4B010020.8050405@postnewspapers.com.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: craig@postnewspapers.com.au, ikorot@earthlink.net
  Subject: Re: Table creation
  In-Reply-To: <4B010020.8050405@postnewspapers.com.au>
  References: <2354695.1258348341643.JavaMail.root@mswamui-valley.atl.sa.earthlink.net> <4B010020.8050405@postnewspapers.com.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox