From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | "David E(dot) Wheeler" <david(at)kineticode(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Merlin Moncure <mmoncure(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Subject: | Re: proposal: plpgsql - iteration over fields of rec or row variable |
Date: | 2010-11-09 17:43:06 |
Message-ID: | AANLkTinTQVSwaV9h8_BpiSASAPD2pcAHxWgOq+TpY0r0@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
2010/11/9 David E. Wheeler <david(at)kineticode(dot)com>:
> On Nov 9, 2010, at 9:35 AM, Pavel Stehule wrote:
>
>>> You realize you can pretty much do all this with hstore, right?
>>
>> hstore has similar functionality, but missing a some details and add
>> lot of other functionality - it doesn't identify type of field.
>> Personally - it is nothing what I like - but can be better than
>> nothing.
>
> The JSON data type will give you some basic types (text, number, boolean).
>
yes, but it's same - transformation via text, and still it's more than
less hack - when you like to iterate over record, then you need to
transform record (generic and basic type) to JSON and then to text.
It's nothing nice - and I don't see a difference between a use a
Plperl or JSON.
Pavel
> Best,
>
> David
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Pavel Stehule | 2010-11-09 17:46:37 | Re: proposal: plpgsql - iteration over fields of rec or row variable |
Previous Message | David E. Wheeler | 2010-11-09 17:42:35 | Re: proposal: plpgsql - iteration over fields of rec or row variable |