pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedDefault schema in DSN
2+ messages / 2 participants
[nested] [flat]
* Default schema in DSN
@ 2008-03-26 02:07 Kenneth Porter <shiva@sewingwitch.com>
2008-03-31 04:10 ` Re: Default schema in DSN Hiroshi Inoue <inoue@tpf.co.jp>
0 siblings, 1 reply; 2+ messages in thread
From: Kenneth Porter @ 2008-03-26 02:07 UTC (permalink / raw)
To: pgsql-odbc
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.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Default schema in DSN
2008-03-26 02:07 Default schema in DSN Kenneth Porter <shiva@sewingwitch.com>
@ 2008-03-31 04:10 ` Hiroshi Inoue <inoue@tpf.co.jp>
0 siblings, 0 replies; 2+ messages in thread
From: Hiroshi Inoue @ 2008-03-31 04:10 UTC (permalink / raw)
To: Kenneth Porter <shiva@sewingwitch.com>; +Cc: pgsql-odbc
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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2008-03-31 04:10 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-03-26 02:07 Default schema in DSN Kenneth Porter <shiva@sewingwitch.com>
2008-03-31 04:10 ` Hiroshi Inoue <inoue@tpf.co.jp>
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