Re: [PATCH] Improve geometric types - Mailing list pgsql-hackers

From Tomas Vondra
Subject Re: [PATCH] Improve geometric types
Date
Msg-id 08624a71-5692-554e-8eb4-148c7445397f@2ndquadrant.com
Whole thread Raw
In response to Re: [PATCH] Improve geometric types  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 07/29/2018 10:57 PM, Tom Lane wrote:
> Tomas Vondra <tomas.vondra@2ndquadrant.com> writes:
>> This should fix it I guess, and it's how we deal with unused return
>> values elsewhere. I've considered using USE_ASSERT_CHECKING here, but it
>> seems rather ugly with that. I'll wait for Emre's opinion ...
> 
> I think what you want is to mark the variable with
> PG_USED_FOR_ASSERTS_ONLY.
> 

Oh, good idea. I don't think I've ever used that macro and I've
completely forgotten about it. Committed that way.


regards

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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bizarre behavior in libpq's searching of ~/.pgpass
Next
From: Justin Pryzby
Date:
Subject: Re: Fwd: Would like to help with documentation for Postgres 11