Re: proposal: plpgsql - iteration over fields of rec or row variable

From: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(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:38:50
Message-ID: 250A69E4-709C-4DB9-9B34-F1F12186EE1A@kineticode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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).

Best,

David

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2010-11-09 17:40:23 Re: proposal: plpgsql - iteration over fields of rec or row variable
Previous Message Pavel Stehule 2010-11-09 17:35:10 Re: proposal: plpgsql - iteration over fields of rec or row variable