should we add a XLogRecPtr/LSN SQL type?

Поиск
Список
Период
Сортировка
От Andres Freund
Тема should we add a XLogRecPtr/LSN SQL type?
Дата
Msg-id 20131211124143.GC24772@awork2.anarazel.de
обсуждение
Ответы Re: should we add a XLogRecPtr/LSN SQL type?
Re: should we add a XLogRecPtr/LSN SQL type?
Re: should we add a XLogRecPtr/LSN SQL type?
Список pgsql-hackers
Hi,

There's already a couple of SQL function dealing with XLogRecPtrs and
the logical replication work will add a couple of more. Currently each
of those funtions taking/returning an LSN does sprintf/scanf to
print/parse the strings. Which both is awkward and potentially
noticeable performancewise.

It seems relatively simple to add a proper type, with implicit casts
from text, instead?

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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