Re: Add %z support to elog/ereport? - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Add %z support to elog/ereport?
Date
Msg-id 20131208165125.GA16733@awork2.anarazel.de
Whole thread Raw
In response to Re: Add %z support to elog/ereport?  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On 2013-12-08 11:43:46 -0500, Peter Eisentraut wrote:
> On Sun, 2013-12-08 at 01:32 +0100, Andres Freund wrote:
> > Patch 02 converts some elog/ereport() callers to using the z modifier,
> >       some were wrong at least on 64 bit windows.
> 
> This is making the assumption that Size is the same as size_t.  If we
> are going to commit to that, we might as well get rid of Size.

Well, we're unconditionally defining it as such in c.h and its usage is
pretty much what size_t is for. Given how widespread Size's use is, I am
not seing a realistic way of getting rid of it though.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Add %z support to elog/ereport?
Next
From: Pavel Stehule
Date:
Subject: Re: plpgsql_check_function - rebase for 9.3