Re: A new function to wait for the backend exit after termination
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: A new function to wait for the backend exit after termination |
| Дата | |
| Msg-id | 1686547.1606960894@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | RE: A new function to wait for the backend exit after termination ("Hou, Zhijie" <houzj.fnst@cn.fujitsu.com>) |
| Ответы |
RE: A new function to wait for the backend exit after termination
|
| Список | pgsql-hackers |
"Hou, Zhijie" <houzj.fnst@cn.fujitsu.com> writes:
> + ereport(WARNING,
> + (errmsg("could not wait for the termination of the backend with PID %d within %ld milliseconds",
> + pid, timeout)));
> The code use %ld to print int64 type.
> How about use INT64_FORMAT, which looks more appropriate.
This is a translatable message, so INT64_FORMAT is no good -- we need
something that is the same across platforms. The current project standard
for this problem is to use "%lld" and explicitly cast the argument to long
long int to match that.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера