Re: Is current_user a function ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Is current_user a function ?
Дата
Msg-id 16577.1038522059@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Is current_user a function ?  (Masaru Sugawara <rk73@sea.plala.or.jp>)
Список pgsql-hackers
Masaru Sugawara <rk73@sea.plala.or.jp> writes:
> As for some current_*** functions, "select current_user;" seems to
> work, but  "select current_user();" doesn't .

Complain to the SQL spec authors --- they mandated this peculiar keyword
syntax for what is really a function call.
        regards, tom lane


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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: Hirarchical queries a la Oracle. Patch.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: nested transactions