Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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.





pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group