Re: Can pg_dump make use of CURRENT/SESSION_USER

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Fabrízio Mello <fabriziomello(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Can pg_dump make use of CURRENT/SESSION_USER
Date: 2015-03-18 18:13:49
Message-ID: CA+TgmobVX=kbLd4o1bh-ze5ffac616agceeih=fyAhRFwjFMxg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Mar 18, 2015 at 2:09 PM, Fabrízio de Royes Mello
<fabriziomello(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2015-03-18 18:30:19 Re: Install shared libs in lib/ and bin/ with MSVC (Was: install libpq.dll in bin directory on Windows / Cygwin)
Previous Message Tom Lane 2015-03-18 18:13:36 Re: Can pg_dump make use of CURRENT/SESSION_USER