Re: Less than ideal error reporting in pg_stat_statements

From: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
To: Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Less than ideal error reporting in pg_stat_statements
Date: 2015-09-22 22:48:38
Message-ID: CAKJS1f-T97i7zMXjApYC-h1Gym2CQ0rWYNGtxn6HO+9zHabuTQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 23 September 2015 at 10:16, Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com> wrote:

>
>
Attached patch fixes, though I'm not sure if %lld is portable or not.
>
>
I think you could probably use INT64_FORMAT, and cast the stat.st_size to
int64 too.

There's an example in FileRead() in fd.c

Regards

David Rowley

--
David Rowley http://www.2ndQuadrant.com/
<http://www.2ndquadrant.com/>
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2015-09-22 22:58:51 Re: Less than ideal error reporting in pg_stat_statements
Previous Message Jim Nasby 2015-09-22 22:16:52 Less than ideal error reporting in pg_stat_statements