Re: [PATCH] SET search_path += octopus

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] SET search_path += octopus
Дата
Msg-id 655762.1603217772@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] SET search_path += octopus  (Andres Freund <andres@anarazel.de>)
Ответы Re: [PATCH] SET search_path += octopus  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> Given that this is just SQL level, I don't see why we'd need a special
> type of language here. You can just use DO etc.

I'd make that point against the whole proposal.  There's nothing here that
can't be done with current_setting() + set_config().  I'm pretty dubious
about layering extra functionality into such a fundamental utility command
as SET; and the fact that we've gone twenty-odd years without similar
previous proposals doesn't speak well for it being really useful.

            regards, tom lane



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

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