Re: postgres 9.3
От | Melvin Davidson |
---|---|
Тема | Re: postgres 9.3 |
Дата | |
Msg-id | CANu8FixEAmbRD98A+N_F99Gf3ArRic7E8hvEOcqn0+SpEf8Puw@mail.gmail.com обсуждение исходный текст |
Ответ на | postgres 9.3 (Ramesh T <rameshparnanditech@gmail.com>) |
Ответы |
Re: postgres 9.3
|
Список | pgsql-general |
You cannot directly "connect" one schema with another,
but you can set the default to have both in the search_path.
Uncomment the #search_path parameter in Postgresql.conf
and change it to
search_path = 'preview, role,public,"$user",public'
The make sure you do:
sudo su - postgres
pg_ctl reload [-D datadir]
but you can set the default to have both in the search_path.
Uncomment the #search_path parameter in Postgresql.conf
and change it to
search_path = 'preview, role,public,"$user",public'
The make sure you do:
sudo su - postgres
pg_ctl reload [-D datadir]
On Sat, Sep 19, 2015 at 4:36 AM, Ramesh T <rameshparnanditech@gmail.com> wrote:
I have one database and two schemas in that public,preview and role previewautomatically i want to connect preview schema with preview role.set search_path to preview.show search_path;..preview.when disconnect and connect database it's showing $user$:public schema not showing preview.what is the problem..?how to resolve the issue...?when session closed showing postgres user..even set preview.
--
Melvin Davidson
I reserve the right to fantasize. Whether or not you
wish to share my fantasy is entirely up to you.
I reserve the right to fantasize. Whether or not you
wish to share my fantasy is entirely up to you.

В списке pgsql-general по дате отправления: