Re: Printing LSN made easy
От | Peter Eisentraut |
---|---|
Тема | Re: Printing LSN made easy |
Дата | |
Msg-id | 639c9552-b113-2717-bb4a-c71aeb4ccb23@2ndquadrant.com обсуждение исходный текст |
Ответ на | Re: Printing LSN made easy (Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>) |
Ответы |
Re: Printing LSN made easy
|
Список | pgsql-hackers |
On 2021-01-20 08:50, Ashutosh Bapat wrote: > Thanks for looking into this. I would like to keep both the LSN_FORMAT > and LSN_FORMAT_ARGS but with a note that the first can not be used in > elog() or in messages which require localization. We have many other > places doing snprintf() and such stuff, which can use LSN_FORMAT. If we > do so, the functions to output string representation will not be needed > so they can be removed. Then you'd end up with half the code doing this and half the code doing that. That doesn't sound very attractive. It's not like "%X/%X" is hard to type. -- Peter Eisentraut 2ndQuadrant, an EDB company https://www.2ndquadrant.com/
В списке pgsql-hackers по дате отправления: