Re: Less than ideal error reporting in pg_stat_statements

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: Less than ideal error reporting in pg_stat_statements
Дата
Msg-id CAKJS1f-T97i7zMXjApYC-h1Gym2CQ0rWYNGtxn6HO+9zHabuTQ@mail.gmail.com
обсуждение исходный текст
Ответ на Less than ideal error reporting in pg_stat_statements  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Ответы Re: Less than ideal error reporting in pg_stat_statements  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 23 September 2015 at 10:16, Jim Nasby <Jim.Nasby@bluetreble.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/
 PostgreSQL Development, 24x7 Support, Training & Services
 

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Less than ideal error reporting in pg_stat_statements
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Less than ideal error reporting in pg_stat_statements