Dear All,Just confused, why :postgres=# select current_user; current_user-------------- postgres(1 row)postgres=# select current_user();2023-03-20 07:00:02.981 UTC [17281] ERROR: syntax error at or near "(" at character 202023-03-20 07:00:02.981 UTC [17281] STATEMENT: select current_user();ERROR: syntax error at or near "("LINE 1: select current_user(); ^why current_user() is not recognized?
But the similar function current_database and current_database(), both can work.Regards,Xiong He [iihero]
pgsql-bugs by date:
Соглашаюсь с условиями обработки персональных данных