Thread: settings without unit

settings without unit

From
Euler Taveira
Date:
Hi,

I noticed that a setting in pg_settings without units have NULL and ""
as unit values ("" for integer and NULL for the other ones). Could we be
consistent? It is like that since units were introduced (b517e65). No
unit means unit = NULL. A proposed patch is attached.


--
   Euler Taveira                   Timbira - http://www.timbira.com.br/
   PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento

Attachment

Re: settings without unit

From
Bruce Momjian
Date:
On Thu, Sep  4, 2014 at 08:50:36PM -0300, Euler Taveira wrote:
> Hi,
> 
> I noticed that a setting in pg_settings without units have NULL and ""
> as unit values ("" for integer and NULL for the other ones). Could we be
> consistent? It is like that since units were introduced (b517e65). No
> unit means unit = NULL. A proposed patch is attached.

Thanks.  Patch applied.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + Everyone has their own god. +