Re: json accessors

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: json accessors
Дата
Msg-id CAHyXU0zkDuYUN5S5ZTWpQ9rwuTcs8Q0A4WzemPTayreaBUmORA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: json accessors  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
On Fri, Nov 30, 2012 at 9:02 AM, Andrew Dunstan <andrew@dunslane.net> wrote:
>
> On 11/30/2012 09:51 AM, Merlin Moncure wrote:
>>
>>
>> Two questions:
>> 1) is it possible for these to work without a polymorphic object
>> passed through as hstore does (null::foo)?
>> select  populate_record(anyelement, record, json)
>
>
> I don't understand the question. The API I'm suggesting is exactly in line
> with hstore's, which uses a polymorphic parameter. I don't see how it can
> not, and I don't understand why you would have 3 parameters.

my mistake: I misread the function as you write it.  it's good as is.

merlin



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: json accessors
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: json accessors