Re: What is exactly a schema?

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Jerry Sievers <gsievers19(at)comcast(dot)net>
Cc: marcelo <marcelo(dot)nicolet(at)gmail(dot)com>, Berend Tober <btober(at)computer(dot)org>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: What is exactly a schema?
Date: 2017-07-14 16:14:04
Message-ID: CAKFQuwY0ke5a=p2Uiey2HeTFP=8KCPTBNLX1YALcNQqUdV4TSw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Jul 14, 2017 at 9:01 AM, Jerry Sievers <gsievers19(at)comcast(dot)net>
wrote:

> marcelo <marcelo(dot)nicolet(at)gmail(dot)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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2017-07-14 16:23:38 Re: What is exactly a schema?
Previous Message marcelo 2017-07-14 16:13:12 Re: What is exactly a schema?