Re: About the function current_user - Mailing list pgsql-bugs

From John Naylor
Subject Re: About the function current_user
Date
Msg-id CAFBsxsEMr+zXvdw3ybH6duT2+3p2uVkOsmpWPTNwpB+TU0NDKw@mail.gmail.com
Whole thread Raw
In response to Re: About the function current_user  ("Xiong He" <iihero@qq.com>)
List 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 by date:

Previous
From: John Naylor
Date:
Subject: Re: About the function current_user
Next
From: Peter Eisentraut
Date:
Subject: Re: About the function current_user