pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Kenneth Porter <shiva@sewingwitch.com>
Cc: PostgreSQL ODBC <pgsql-odbc@postgresql.org>
Subject: Re: Default schema in DSN
Date: Mon, 31 Mar 2008 13:10:25 +0900
Message-ID: <47F06431.4040105@tpf.co.jp> (raw)
In-Reply-To: <EB58939BEA68519D522E432B@[10.169.6.155]>
References: <EB58939BEA68519D522E432B@[10.169.6.155]>

Kenneth Porter wrote:
> Is there some way to specify a schema in a DSN so that individual table 
> references in an app don't need to specify it, and so that the app 
> doesn't need to know what DB is on the back end? (The latter constraint 
> means I can't set the schema search path in the app.) I tried using 
> "mydb.public" as the DB name but the Data Source editor doesn't like that.)
> 
> I'm trying to migrate an old Paradox app to a client/server paradigm. I 
> installed psqlodbc_08_03_0100 on XP SP2 and have an 8.1.11 server on 
> Linux. The app uses the Borland Database Engine (BDE) to access the 
> database.
> 
> I don't see a place in the Data Source configuration tool to set the 
> schema or a search path for a DSN.

Please use the Connect Settings option.
You can set the command like 'set search_path to ....' for the option.

regards,
Hiroshi Inoue




view thread (2+ messages)

Message-ID: <47F06431.4040105@tpf.co.jp>
Permalink:  ../47F06431.4040105@tpf.co.jp/
Also on:    postgresql.org/message-id/47F06431.4040105@tpf.co.jp

 · 

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: inoue@tpf.co.jp, shiva@sewingwitch.com
  Subject: Re: Default schema in DSN
  In-Reply-To: <47F06431.4040105@tpf.co.jp>
  References: <EB58939BEA68519D522E432B@[10.169.6.155]> <47F06431.4040105@tpf.co.jp>

* 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