From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
---|---|
To: | Mark Dilger <hornschnorter(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: cast result of copyNode() |
Date: | 2017-03-09 20:34:30 |
Message-ID: | d20c06d0-d333-a595-9aea-1057f29fac04@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 3/7/17 18:27, Mark Dilger wrote:
> You appear to be using a #define macro to wrap a function of the same name
> with the code:
>
> #define copyObject(obj) ((typeof(obj)) copyObject(obj))
Yeah, that's a bit silly. Here is an updated version that changes that.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Attachment | Content-Type | Size |
---|---|---|
v2-0001-Cast-result-of-copyObject-to-correct-type.patch | application/x-patch | 41.5 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2017-03-09 21:01:06 | Re: exposing wait events for non-backends (was: Tracking wait event for latches) |
Previous Message | Tom Lane | 2017-03-09 20:27:25 | Upgrading postmaster's log messages about bind/listen errors |