Re: ExplainProperty* and units - Mailing list pgsql-hackers

From Andres Freund
Subject Re: ExplainProperty* and units
Date
Msg-id 20180316212512.6kudvfryyk5a3ugq@alap3.anarazel.de
Whole thread Raw
In response to Re: ExplainProperty* and units  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 2018-03-14 13:32:10 -0400, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> > Only thing I wonder is if we shouldn't just *remove*
> > ExplainPropertyLong and make ExplainPropertyInteger accept 64bits of
> > input - the effort of passing and printing a 64bit integer will never be
> > relevant for explain.
> 
> -0.5 ... everywhere else, we mean "int32" when we say "int", and I don't
> think it's worth the potential confusion to do it differently here.

Since I'm +1 on this (I don't think Integer is the same as int, there's
no benefit in having two functions, and I've already written the patch
this way), I'm inclined to go with one function.  Does anybody else
have an opinion?

- Andres


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: ON CONFLICT DO UPDATE for partitioned tables
Next
From: Andres Freund
Date:
Subject: Re: ON CONFLICT DO UPDATE for partitioned tables