Re: [PATCH] SET search_path += octopus

Поиск
Список
Период
Сортировка
От Isaac Morland
Тема Re: [PATCH] SET search_path += octopus
Дата
Msg-id CAMsGm5cVEwMWjBoe+zcBcAhtyMYhJkebtTrBfFW2_E6sVyPijg@mail.gmail.com
обсуждение исходный текст
Ответ на [PATCH] SET search_path += octopus  (Abhijit Menon-Sen <ams@toroid.org>)
Список pgsql-hackers
On Sun, 27 Sep 2020 at 23:39, Abhijit Menon-Sen <ams@toroid.org> wrote:
 
    postgres=# SET search_path += octopus;
    SET
    postgres=# SET search_path += "giant squid", kraken, narwhal; -- [1]
    SET
    postgres=# SET search_path -= public, narwhal;
    SET
    postgres=# SHOW search_path;

What happens if the new value for += is already in the list?
What about -= on a value that occurs in the list multiple times?

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] SET search_path += octopus
Следующее
От: Andres Freund
Дата:
Сообщение: Re: [PATCH] SET search_path += octopus