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

From Robert Haas
Subject Re: Can pg_dump make use of CURRENT/SESSION_USER
Date
Msg-id CA+TgmobVX=kbLd4o1bh-ze5ffac616agceeih=fyAhRFwjFMxg@mail.gmail.com
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  (Fabrízio de Royes Mello <fabriziomello@gmail.com>)
List pgsql-hackers
On Wed, Mar 18, 2015 at 2:09 PM, Fabrízio de Royes Mello
<fabriziomello@gmail.com> wrote:
> Just one last doubt. Do we expose a new function called "current_database"
> like "current_catalog", "current_user", ... ?

Why would we do that?

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Rethinking the parameter access hooks for plpgsql's benefit
Next
From: Tom Lane
Date:
Subject: Re: Can pg_dump make use of CURRENT/SESSION_USER