Search Postgresql Archives

Re: now() vs current_user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/5/07, Ottó Havasvölgyi <havasvolgyi.otto@xxxxxxxxx> wrote:> What is the cause that "now()" works but "now" does not and> "current_user" works but "current_user()" does not.
>From http://www.postgresql.org/docs/8.2/static/functions-info.html :
"Note:  current_user, session_user, and user have special syntacticstatus in SQL: they must be called without trailing parentheses."
See:http://www.google.com/search?q=sql+current_user
---------------------------(end of broadcast)---------------------------TIP 6: explain analyze is your friend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux