Re: [GENERAL] What is exactly a schema? - Mailing list pgsql-general

From David G. Johnston
Subject Re: [GENERAL] What is exactly a schema?
Date
Msg-id CAKFQuwY0ke5a=p2Uiey2HeTFP=8KCPTBNLX1YALcNQqUdV4TSw@mail.gmail.com
Whole thread Raw
In response to Re: [GENERAL] What is exactly a schema?  (Jerry Sievers <gsievers19@comcast.net>)
List pgsql-general
On Fri, Jul 14, 2017 at 9:01 AM, Jerry Sievers <gsievers19@comcast.net> wrote:
marcelo <marcelo.nicolet@gmail.com> writes:

> Thank you.
> Now I have a related question.
> Could I select a specific schema in the connection string? Say, by
> example database=mydb.schemanumbertwo ?
>
> I'm asking this because I will be using Devart's dotConnect and Entity
> developer to access the database. I have not full control, so I cannot
> set the search path immediately after the connection.

Take a look at the PGOPTIONS env variable an/or libpq connect parameter variant.

Yes, it can be done, but doing so precludes the use connection pooling technology (at least pg_bouncer, anyway, I suspect others).

David J.

pgsql-general by date:

Previous
From: marcelo
Date:
Subject: Re: [GENERAL] What is exactly a schema?
Next
From: "David G. Johnston"
Date:
Subject: Re: [GENERAL] What is exactly a schema?