Re: Add %z support to elog/ereport?
| От | Tom Lane |
|---|---|
| Тема | Re: Add %z support to elog/ereport? |
| Дата | |
| Msg-id | 32749.1384186702@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Add %z support to elog/ereport? (Andres Freund <andres@2ndquadrant.com>) |
| Ответы |
Re: Add %z support to elog/ereport?
|
| Список | pgsql-hackers |
Andres Freund <andres@2ndquadrant.com> writes:
> I'd like to add support for the length modifier %z. Linux' manpages
> describes it as:
> z A following integer conversion corresponds to a size_t or ssize_t argument.
> Since gcc's printf format checks understand it, we can add support for
> it similar to the way we added %m support.
I think you'll find that %m is a totally different animal, because it
doesn't involve consuming an argument position. I'm less than sure that
every version of gcc will recognize %z, either ... and what about the
translation infrastructure?
regards, tom lane
В списке pgsql-hackers по дате отправления: