From: Paul Cochrane <paul@tortc.tuht.scot.nhs.uk>
To: pgsql-odbc@postgresql.org
Subject: Suppressing public. in tables names
Date: Wed, 03 Sep 2003 11:39:23 +0100
Message-ID: <3F55D2A7.14621.1A007BC0@localhost> (raw)
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 |
-------------------------------------
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: paul@tortc.tuht.scot.nhs.uk
Subject: Re: Suppressing public. in tables names
In-Reply-To: <3F55D2A7.14621.1A007BC0@localhost>
References: <3F55D2A7.14621.1A007BC0@localhost>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox