Re: Can pg_dump make use of CURRENT/SESSION_USER - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Can pg_dump make use of CURRENT/SESSION_USER
Date
Msg-id 30003.1426702416@sss.pgh.pa.us
Whole thread Raw
In response to Re: Can pg_dump make use of CURRENT/SESSION_USER  (Fabrízio de Royes Mello <fabriziomello@gmail.com>)
Responses Re: Can pg_dump make use of CURRENT/SESSION_USER
List pgsql-hackers
Fabrízio de Royes Mello <fabriziomello@gmail.com> writes:
> Just one last doubt. Do we expose a new function called "current_database"
> like "current_catalog", "current_user", ... ?

There already is one.  But that would have nothing to do with the proposed
patch anyway, because the bits of syntax in question are not expressions
and you should not try to turn them into things that would call functions.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Can pg_dump make use of CURRENT/SESSION_USER
Next
From: Alvaro Herrera
Date:
Subject: Re: Install shared libs in lib/ and bin/ with MSVC (Was: install libpq.dll in bin directory on Windows / Cygwin)