X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 6A104D1B8B3 for ; Wed, 3 Sep 2003 10:39:44 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 81346-09 for ; Wed, 3 Sep 2003 07:39:16 -0300 (ADT) Received: from caird.finix.scot.nhs.uk (unknown [195.107.47.229]) by svr1.postgresql.org (Postfix) with ESMTP id 495DCD1B89F for ; Wed, 3 Sep 2003 07:38:59 -0300 (ADT) Received: from lfsmtp.tuht.scot.nhs.uk (localhost [127.0.0.1]) by caird.finix.scot.nhs.uk (8.10.2+Sun/8.10.2) with ESMTP id h83AdNI01094 for ; Wed, 3 Sep 2003 11:39:24 +0100 (BST) X-Authentication-Warning: caird.finix.scot.nhs.uk: iscan owned process doing -bs Received: from Spooler by lfsmtp.tuht.scot.nhs.uk (Mercury/32 v3.32) ID MO000606; 3 Sep 03 11:40:09 +0100 Received: from spooler by lfsmtp.tuht.scot.nhs.uk (Mercury/32 v3.32); 3 Sep 03 11:40:02 +0100 From: "Paul Cochrane" Organization: T.O.R.T. Centre To: pgsql-odbc@postgresql.org Date: Wed, 03 Sep 2003 11:39:23 +0100 MIME-Version: 1.0 Subject: Suppressing public. in tables names Message-ID: <3F55D2A7.14621.1A007BC0@localhost> X-mailer: Pegasus Mail for Windows (v4.12a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/9 X-Sequence-Number: 3207 A while back (January) I asked a question about using Borlands BDE to access a postgres database via ODBC. In Postgres 7.3, the table names returned to the application always have the format 'public.tablename'. Using postgres 7.2, the table name returned to the application is simply 'tablename'. What I'd like to know is that is there / could there be a setting in the odbc driver to allow the suppression of the 'public.' schema when returning a table name? Possibly an option to ignore schemas entirely or make them blank? I've tried setting the search_path to just 'public' & blank with no success. If this can't be sorted or worked around it looks like I'm gonna be stuck on 7.2 forever.... Is there any hope??????? ------------------------------------- Paul Cochrane | Tayside Orthopaedic & | | Rehabilitation Technology Centre | ============= |-------------------------------------| | Ninewells Hospital & Med. School | | Dundee, Scotland, UK. | | DD1 9SY. | | Phone: +44 1382 496284 | | Fax: +44 1382 496322 | | E-Mail: paul@tortc.tuht.scot.nhs.uk | -------------------------------------