Re: xlog location arithmetic
От | Robert Haas |
---|---|
Тема | Re: xlog location arithmetic |
Дата | |
Msg-id | CA+Tgmob1kiVeH13Z4jVRZCMnK2ZZshZd-encd1_oS4Yb9JzZ3w@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: xlog location arithmetic (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-hackers |
On Fri, Dec 23, 2011 at 10:59 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote: > Robert Haas <robertmhaas@gmail.com> writes: >> On Fri, Dec 23, 2011 at 10:18 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote: >>> Even if there are several, what exact advantage does a datatype offer >>> over representing LSN values as numerics? It seems to me to be adding >>> complication and extra code (I/O converters at least) for very little >>> gain. > >> I guess I'm just constitutionally averse to labeling things as "text" >> when they really aren't. > > Er ... text? I thought the proposal was to use numeric. The proposal is to make a function that takes a text argument (which is really an LSN, but we choose to represent it as text) and returns numeric. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления: