Re: hstore ==> and deprecate =>

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: hstore ==> and deprecate =>
Дата
Msg-id 28224.1276362062@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: hstore ==> and deprecate =>  ("David E. Wheeler" <david@kineticode.com>)
Список pgsql-hackers
"David E. Wheeler" <david@kineticode.com> writes:
> On Jun 11, 2010, at 2:23 PM, Tom Lane wrote:
>>> hstore(key := 'this', key2 := 'that')
>>> hstore(key => 'this', key2 => 'that')
>>> hstore(row('this' AS key, 'that' AS key2))
>> 
>> The last of those is probably the easiest to get to.  We already have
>> hstore_from_record:

> Is not the first one simply a function with any number of named params?

No, because the desire presumably would be to be able to use any set of
parameter names with that one function ... which absolutely flies in the
face of our current notion of what a parameter name means.  You'd
essentially have to disable the ability to have function overloading.
(Which probably means it Ain't Happening.)
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Idea for getting rid of VACUUM FREEZE on cold pages
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_upgrade output directory