Re: Can pg_dump make use of CURRENT/SESSION_USER

From: Fabrízio de Royes Mello <fabriziomello(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, 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:42:40
Message-ID: CAFcNs+qH6ZEwo3381rXfJ8x1arN-LFN9C5_CmZo=W0fWNP9w9A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Mar 18, 2015 at 3:13 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> =?UTF-8?Q?Fabr=C3=ADzio_de_Royes_Mello?= <fabriziomello(at)gmail(dot)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.
>

Yeah... I'll focus on the current scope.

Thanks,

--
Fabrízio de Royes Mello
Consultoria/Coaching PostgreSQL
>> Timbira: http://www.timbira.com.br
>> Blog: http://fabriziomello.github.io
>> Linkedin: http://br.linkedin.com/in/fabriziomello
>> Twitter: http://twitter.com/fabriziomello
>> Github: http://github.com/fabriziomello

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Karlsson 2015-03-18 18:54:42 Re: patch : Allow toast tables to be moved to a different tablespace
Previous Message Heikki Linnakangas 2015-03-18 18:41:51 Re: INSERT ... ON CONFLICT IGNORE (and UPDATE) 3.0