Re: [HACKERS] Add support to COMMENT ON CURRENT DATABASE - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] Add support to COMMENT ON CURRENT DATABASE
Date
Msg-id a97c6033-27e9-ab2e-4acf-8a671af98a6c@2ndquadrant.com
Whole thread Raw
In response to [HACKERS] Add support to COMMENT ON CURRENT DATABASE  (Fabrízio de Royes Mello <fabriziomello@gmail.com>)
List pgsql-hackers
On 1/9/17 2:52 PM, Alvaro Herrera wrote:
> CURRENT_USER is a standards-mandated keyword, but CURRENT_DATABASE is
> not.  The closest thing SQL has is CURRENT_CATALOG, which is the string
> that identifies the "current default catalog".  This would lead us to
>     COMMENT ON DATABASE CURRENT_CATALOG
> 
> Do we want that spelling?  It looks ugly to me.

Hence my suggestion earlier to make CURRENT_DATABASE reserved.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] Add support to COMMENT ON CURRENT DATABASE
Next
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] ICU integration