Re: Can pg_dump make use of CURRENT/SESSION_USER
| От | Fabrízio de Royes Mello |
|---|---|
| Тема | Re: Can pg_dump make use of CURRENT/SESSION_USER |
| Дата | |
| Msg-id | CAFcNs+qH6ZEwo3381rXfJ8x1arN-LFN9C5_CmZo=W0fWNP9w9A@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: Can pg_dump make use of CURRENT/SESSION_USER (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
On Wed, Mar 18, 2015 at 3:13 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> 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.
>
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
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
В списке pgsql-hackers по дате отправления: