pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Patch to allow setting schema/search_path in the connectionURL
Date: Mon, 22 Sep 2014 22:00:59 -0700
Message-ID: <5420FE8B.7070109@hogranch.com> (raw)
In-Reply-To: <1411447985623-5820021.post@n5.nabble.com>
References: <4873F034.8010301@scharp.org>
	<487478FC.5080607@enterprisedb.com>
	<Pine.BSO.4.64.0807091611590.6781@leary.csoft.net>
	<1410977074803-5819366.post@n5.nabble.com>
	<CADK3HH+MLmeJNShi7r4opYT14m_QRpc8+T=pewYHeE6gVq_bwg@mail.gmail.com>
	<1411069664209-5819543.post@n5.nabble.com>
	<541B39B1.1010202@hogranch.com>
	<CAJghg4+gacf_hVHjFsie1RaBwoJ4iguqZNh5o0uUpdE2du4C-A@mail.gmail.com>
	<CAPeFFaDpqq3xbzGsR+mquN-knu5kQD6MRMvOzMKb9m10n6kgGA@mail.gmail.com>
	<1411447985623-5820021.post@n5.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

On 9/22/2014 9:53 PM, stagirus wrote:
> I just tried as follows:
> ALTER ROLE dev SET search_path TO bep;
>
> Then ran a bunch of SQL commands after connecting to the user dev. But it
> fails because it is looking for the "public" schema. I am not sure how this
> "ALTER ROLE" works.

ALTER ROLE dev SET search_path TO bep,public;




-- 
john r pierce                                      37N 122W
somewhere on the middle of the left coast



-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



view thread (41+ messages)  latest in thread

Message-ID: <5420FE8B.7070109@hogranch.com>
Permalink:  ../5420FE8B.7070109@hogranch.com/
Also on:    postgresql.org/message-id/5420FE8B.7070109@hogranch.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-jdbc@postgresql.org
  Cc: pierce@hogranch.com
  Subject: Re: Patch to allow setting schema/search_path in the connectionURL
  In-Reply-To: <5420FE8B.7070109@hogranch.com>
  References: <4873F034.8010301@scharp.org> <487478FC.5080607@enterprisedb.com> <Pine.BSO.4.64.0807091611590.6781@leary.csoft.net> <1410977074803-5819366.post@n5.nabble.com> <CADK3HH+MLmeJNShi7r4opYT14m_QRpc8+T=pewYHeE6gVq_bwg@mail.gmail.com> <1411069664209-5819543.post@n5.nabble.com> <541B39B1.1010202@hogranch.com> <CAJghg4+gacf_hVHjFsie1RaBwoJ4iguqZNh5o0uUpdE2du4C-A@mail.gmail.com> <CAPeFFaDpqq3xbzGsR+mquN-knu5kQD6MRMvOzMKb9m10n6kgGA@mail.gmail.com> <1411447985623-5820021.post@n5.nabble.com> <5420FE8B.7070109@hogranch.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