Received: from host1.kbnet.co.uk (root@host1.kbnet.co.uk [194.168.148.2]) by hub.org (8.9.3/8.9.3) with ESMTP id FAA18353 for ; Sun, 18 Jul 1999 05:59:00 -0400 (EDT) (envelope-from neil@darlow.co.uk) Received: from ideal.intranet (IDENT:root@dialup036.kbnet.co.uk [194.168.148.198]) by host1.kbnet.co.uk (8.9.3/8.9.3) with ESMTP id LAA25581 for ; Sun, 18 Jul 1999 11:04:17 GMT Received: from ideal.intranet (IDENT:neil@ideal.intranet [172.16.0.1]) by ideal.intranet (8.9.3/8.9.3) with SMTP id KAA00902 for ; Sun, 18 Jul 1999 10:57:12 +0100 From: Neil Darlow Date: Sun, 18 Jul 1999 10:57:12 GMT Message-ID: <19990718.10571200@ideal.intranet> Subject: Qualified Table Names and PsqlODBC. To: pgsql-interfaces@postgresql.org X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.1; Linux) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.org id FAA18384 Greetings, I'm attempting to use StarOffice 5.1 Pro with unixODBC and PostgreSQL-6.4.2. unixODBC uses PsqlODBC to implement the interface to PostgreSQL. The problem I'm observing is that when I create a Table in StarOffice an SQL statement of the following form is generated: create databasename."TABLENAME" ( fieldname fieldtype, ... ) PostgreSQL seems to have difficulty with the databasename."TABLENAME" syntax which leads to one of two outcomes: 1) No table is created by PostgreSQL 2) A table is created with an uppercase name that can be seen with \dt in psql but attempting to select from the table presents a message that the table doesn't exist. In either case, StarOffice reports "Error recording data to database". I have been in contact with the unixODBC project leader (Nick Gorham) but he states that the unixODBC Driver Manager just passes SQL directly from StarOffice to PsqlODBC without modification. This implies that any corrective action will have to be done in PsqlODBC. Is this a known problem, and does a solution exist. Regards, Neil Darlow