Re: Function for dealing with xlog data
От | Alvaro Herrera |
---|---|
Тема | Re: Function for dealing with xlog data |
Дата | |
Msg-id | 1293544622-sup-8367@alvh.no-ip.org обсуждение исходный текст |
Ответ на | Re: Function for dealing with xlog data (Magnus Hagander <magnus@hagander.net>) |
Ответы |
Re: Function for dealing with xlog data
|
Список | pgsql-hackers |
Excerpts from Magnus Hagander's message of mar dic 28 10:46:31 -0300 2010: > On Tue, Dec 28, 2010 at 14:39, Robert Haas <robertmhaas@gmail.com> wrote: > >> What's the best way of doing it? Should we have a function that takes > >> text as input, or should the functions in question be made to return a > >> new datatype that could then be casted? > > > > The new datatype seems more elegant, but a conversion function would > > be a lot less work. > > Well, yeah, that was obvious ;) The question is, how much do we prefer > the more elegant method? ;) If we go the new type route, do we need it to have an implicit cast to text, for backwards compatibility? -- Álvaro Herrera <alvherre@commandprompt.com> The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support
В списке pgsql-hackers по дате отправления: