Re: About the function current_user

Поиск
Список
Период
Сортировка
От John Naylor
Тема Re: About the function current_user
Дата
Msg-id CAFBsxsEMr+zXvdw3ybH6duT2+3p2uVkOsmpWPTNwpB+TU0NDKw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: About the function current_user  ("Xiong He" <iihero@qq.com>)
Список pgsql-bugs

On Mon, Mar 20, 2023 at 3:57 PM Xiong He <iihero@qq.com> wrote:
>
> Thanks a lot.
> And how to understand below result?
>
> postgres=# select current_database();
>  current_database
> ------------------
>  postgres
> (1 row)
>
> postgres=# select current_database;
> ERROR:  column "current_database" does not exist
> LINE 1: select current_database;

"current_database" is not a keyword.

--
John Naylor
EDB: http://www.enterprisedb.com

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

Предыдущее
От: John Naylor
Дата:
Сообщение: Re: About the function current_user
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: About the function current_user