predefined functions

From: Rafal Pietrak <rafal(at)poczta(dot)homelinux(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: predefined functions
Date: 2006-10-07 07:43:50
Message-ID: 1160207031.4482.9.camel@zorro.isa-geek.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(at)poczta(dot)homelinux(dot)com>

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rafal Pietrak 2006-10-07 08:13:10 time conversion fuinctions
Previous Message Peter Eisentraut 2006-10-07 07:01:58 Re: ISO week dates