pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noel <nobody@nowhere.com>
To: pgsql-odbc@postgresql.org
Subject: Re: Can I specify a SCHEMA in the ODBC string?
Date: Fri, 17 Jun 2005 20:45:10 +0100
Message-ID: <av96b1h37cb5a5osaud95amdmoob6bc89t@4ax.com> (raw)
References: <d1ac72b705061311531949df20@mail.gmail.com>
	<d8ugku$al8$1@news.hub.org>

On Fri, 17 Jun 2005 13:47:35 +0100, vladimir <bouncer@nowhere.org>
wrote:

>> Is this possible? If so, what's the syntax? Is the syntax for ODBC
>> connection strings documented anywhere? I've googled for this info,
>> but unsuccessfully.
>I think that you have to specify the schema in the select query:
>
>SELECT FROM myschema.mytable;

Or you can set the schema search path in Page 2 of the Datasource
Configuration window for the ODBC datasource.  Simply put

SET SEARCH_PATH to myschema, public in the Connect Settings box.





view thread (5+ messages)

Message-ID: <av96b1h37cb5a5osaud95amdmoob6bc89t@4ax.com>
Permalink:  ../av96b1h37cb5a5osaud95amdmoob6bc89t@4ax.com/
Also on:    postgresql.org/message-id/av96b1h37cb5a5osaud95amdmoob6bc89t@4ax.com

 · 

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: nobody@nowhere.com
  Subject: Re: Can I specify a SCHEMA in the ODBC string?
  In-Reply-To: <av96b1h37cb5a5osaud95amdmoob6bc89t@4ax.com>
  References: <d1ac72b705061311531949df20@mail.gmail.com> <d8ugku$al8$1@news.hub.org> <av96b1h37cb5a5osaud95amdmoob6bc89t@4ax.com>

* 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