Re: ODBC: how to change search_path in DSN? - Mailing list pgsql-interfaces

From Jim Nasby
Subject Re: ODBC: how to change search_path in DSN?
Date
Msg-id A9335FA4-4A99-40E1-96B9-B4E0B36455DC@decibel.org
Whole thread Raw
In response to ODBC: how to change search_path in DSN?  ("Carlo Stonebanks" <stonec.register@sympatico.ca>)
Responses Re: ODBC: how to change search_path in DSN?  ("Carlo Stonebanks" <stonec.register@sympatico.ca>)
List pgsql-interfaces
On Dec 19, 2006, at 12:06 PM, Carlo Stonebanks wrote:
> I would like to create an ODBC DSN for a user to export files rom  
> Acccess to
> a safe area. Right now, all tables are being dumped to public by  
> default.
>
> In order to use the one-click export option for Access, I would  
> like to have
> the connection for the ODBC DSN file change the default search_path to
> my_schema (and my_schema only).
>
> After seeing a post on this on another resource, I tried putting
> schema=my_schema in the connection settings text box, but the tables
> appeared in public anyway.

I think your only option is to change the default for the user. IT  
would be handy if there was a way to set search_path via  
pg_service.conf, though...
--
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)




pgsql-interfaces by date:

Previous
From: CN
Date:
Subject: Re: BCC55 and libpq 8.2
Next
From: Jim Nasby
Date:
Subject: Re: Oracle Streams to pgsql