Re: proposal: plpgsql - iteration over fields of rec or row variable - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: proposal: plpgsql - iteration over fields of rec or row variable
Date
Msg-id 250A69E4-709C-4DB9-9B34-F1F12186EE1A@kineticode.com
Whole thread Raw
In response to Re: proposal: plpgsql - iteration over fields of rec or row variable  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: proposal: plpgsql - iteration over fields of rec or row variable
List 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



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: proposal: plpgsql - iteration over fields of rec or row variable
Next
From: Pavel Stehule
Date:
Subject: Re: proposal: plpgsql - iteration over fields of rec or row variable