Search Postgresql Archives

predefined functions

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

 



Hi,

Is there a reason why both:

	SELECT current_user;
	SELECT current_database();

are correct, while neither of:

	SELECT current_user();	-- syntax at '('
	SELECT current_database; -- missing column

is?

This is as of postgres version 8.1.4

-- 
Rafal Pietrak <rafal@xxxxxxxxxxxxxxxxxxxx>


[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