Re: [GENERAL] What is exactly a schema?

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: [GENERAL] What is exactly a schema?
Дата
Msg-id CAKFQuwY0ke5a=p2Uiey2HeTFP=8KCPTBNLX1YALcNQqUdV4TSw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [GENERAL] What is exactly a schema?  (Jerry Sievers <gsievers19@comcast.net>)
Список 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 по дате отправления:

Предыдущее
От: marcelo
Дата:
Сообщение: Re: [GENERAL] What is exactly a schema?
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: [GENERAL] What is exactly a schema?