Re: 9.5 Create Function Set From Current taken at creation time?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 9.5 Create Function Set From Current taken at creation time?
Дата
Msg-id 20203.1470750230@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 9.5 Create Function Set From Current taken at creation time?  ("David G. Johnston" <david.g.johnston@gmail.com>)
Ответы Re: 9.5 Create Function Set From Current taken at creation time?
Список pgsql-bugs
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> Can we change the second sentence in the above quote to something like:​

> SET FROM CURRENT is a convenience expression to capture the result of
> current_setting('setting name') at the time of the function's creation. [if
> more than just convenience an example of when this is useful would be nice].

"Convenience" normally means that there's some other way to get the same
result.  I do not know of one, and I doubt we'd have introduced the
feature if there was.

            regards, tom lane

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

Предыдущее
От: Andrew Gierth
Дата:
Сообщение: Re: BUG #14228: replication slot catalog_xmin not cleared on slot reuse
Следующее
От: nicolas.david@verosoftware.com
Дата:
Сообщение: BUG #14285: Chinese locale and windows