On Wed, Mar 18, 2015 at 3:13 PM, Tom Lane <t...@sss.pgh.pa.us> wrote: > > =?UTF-8?Q?Fabr=C3=ADzio_de_Royes_Mello?= <fabriziome...@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. >
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