Re: Comparison with "true" in source code - Mailing list pgsql-hackers

From Itagaki Takahiro
Subject Re: Comparison with "true" in source code
Date
Msg-id AANLkTinoY3A_vtdmDZ2CgMmbugeW2dkn1cteqa8LZDRC@mail.gmail.com
Whole thread Raw
In response to Re: Comparison with "true" in source code  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Mon, Nov 15, 2010 at 11:13, Robert Haas <robertmhaas@gmail.com> wrote:
>> I added an additional cleanup to 'header_mode' in ecpg; I changed the type
>> from bool to char to hold 'h' or 'c'. Do you think it is reasonable?
>
> I looked at this but found that part a bit too clever for its own good.
>
> So committed the rest, plus an additional one-line change to psql's
> print.c to avoid making the two accesses to format->wrap_right_pointer
> inconsistent with each other.

Thanks!

-- 
Itagaki Takahiro


pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: Refactoring the Type System
Next
From: Greg Stark
Date:
Subject: Explain analyze getrusage tracking