predefined functions - Mailing list pgsql-general

From Rafal Pietrak
Subject predefined functions
Date
Msg-id 1160207031.4482.9.camel@zorro.isa-geek.com
Whole thread Raw
Responses Re: predefined functions  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@poczta.homelinux.com>

pgsql-general by date:

Previous
From: "ck"
Date:
Subject: How to force the parser to use index scan instead of sequential scan
Next
From: Martin Steffen
Date:
Subject: failure to connect to postgres DB via pg.el