PsqlODBC and Qualified Table Names

From: Neil Darlow <neil(at)darlow(dot)co(dot)uk>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: PsqlODBC and Qualified Table Names
Date: 1999-07-20 20:49:09
Message-ID: 19990720.20490900@ideal.intranet
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hi,

I am using PsqlODBC (as part of unixODBC) with StarOffice 5.1 Pro
to manage PostgreSQL 6.4.2 databases and tables.

I can create and delete databases without difficulty but am having
trouble creating tables with StarOffice.

I have determined that the cause of the problem is that StarOffice
generates SQL to create a table in the following format:

create databasename."TABLENAME" ( fieldname fieldtype, ... )

PostgreSQL appears to have difficulty with databasename."TABLENAME"
and will either not generate a table or generates a table with an
uppercase name that is reported as existing by \dt in psql. However,
any attempt to select from this table with SQL results in an error
message to the effect that the table doesn't exist.

Is this a known problem with PsqlODBC, or perhaps PostgreSQL itself,
and is there a work-around?

Regards,
Neil Darlow.

Browse pgsql-interfaces by date

  From Date Subject
Next Message Doug Thistlethwaite 1999-07-20 22:24:51 Re: [INTERFACES] jdbc interface problems with jdk1.2
Previous Message Clark Joel A1C AMC CSS 1999-07-20 14:20:31 RE: [INTERFACES] Resources