Re: Problem in "Set search path"

Поиск
Список
Период
Сортировка
От Chris Angelico
Тема Re: Problem in "Set search path"
Дата
Msg-id CAPTjJmrCQ4zd+rgAoK7drBurp-mKh2vBkc-aMsQfk3nNejRzAg@mail.gmail.com
обсуждение исходный текст
Ответ на Problem in "Set search path"  (Kalai R <softlinne.kv@gmail.com>)
Список pgsql-general
On Thu, Mar 21, 2013 at 11:33 PM, Kalai R <softlinne.kv@gmail.com> wrote:
> Hi,
>
>    I am using postgresql 9.0.3.  In my application I change often schema
> name using set search path. Some times schema name set correctly.  But some
> time it does not set correctly and it takes the schema previously I set.  Is
> any possibilities to happen like this?

If you roll back the transaction in which you set it, it isn't set,
but if you commit that transaction, it'll stay set for future
transactions. At least, that's been my experience.

ChrisA


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

Предыдущее
От: Kalai R
Дата:
Сообщение: Problem in "Set search path"
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Problem in "Set search path"