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 34EEDD1B563 for ; Sun, 21 Sep 2003 07:01:05 +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 26784-03 for ; Sun, 21 Sep 2003 04:00:53 -0300 (ADT) Received: from news.hub.org (unknown [64.117.224.194]) by svr1.postgresql.org (Postfix) with ESMTP id 694EFD1B550 for ; Sun, 21 Sep 2003 04:00:52 -0300 (ADT) Received: from news.hub.org (host-64-117-224-194.altec1.com [64.117.224.194] (may be forged)) by news.hub.org (8.12.9/8.12.9) with ESMTP id h8L70jhM039969 for ; Sun, 21 Sep 2003 07:00:50 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id h8L6qpKI038737 for pgsql-odbc@postgresql.org; Sun, 21 Sep 2003 06:52:51 GMT From: Mainlander <*@*.*> X-Newsgroups: comp.databases.postgresql.interfaces.odbc Subject: Re: Suppressing public. in tables names Date: Sun, 21 Sep 2003 18:53:28 +1200 Organization: Private Lines: 28 Message-ID: References: <3F55D2A7.14621.1A007BC0@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org X-Newsreader: MicroPlanet Gravity v2.60 To: pgsql-odbc@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/93 X-Sequence-Number: 3291 In article <3F55D2A7.14621.1A007BC0@localhost>, paul@tortc.tuht.scot.nhs.uk says... > 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??????? What is the problem? When I run my queries with the existing table names they work exactly as they did before, without having to change table names to have "public." in front of them.