pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mainlander <*@*.*>
To: pgsql-odbc@postgresql.org
Subject: Re: Suppressing public. in tables names
Date: Sun, 21 Sep 2003 18:53:28 +1200
Message-ID: <MPG.19d8120fd8052424989680@news.postgresql.org> (raw)
References: <3F55D2A7.14621.1A007BC0@localhost>

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.



view thread (3+ messages)  latest in thread

Message-ID: <MPG.19d8120fd8052424989680@news.postgresql.org>
Permalink:  ../MPG.19d8120fd8052424989680@news.postgresql.org/
Also on:    postgresql.org/message-id/MPG.19d8120fd8052424989680@news.postgresql.org

 · 

reply

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: *@*.*
  Subject: Re: Suppressing public. in tables names
  In-Reply-To: <MPG.19d8120fd8052424989680@news.postgresql.org>
  References: <3F55D2A7.14621.1A007BC0@localhost> <MPG.19d8120fd8052424989680@news.postgresql.org>

* 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