On Aug 25, 2014, at 3:41 PM, Greg Sabino Mullane <[email protected]> wrote:

> That's already the plan. Since we know the json type oid already, we 
> will add a flag such that when on, json can be slung back and forth 
> seamlessly as arrays are now. Arrays are already fully automatic and 
> out the barn door, but perhaps a more generic interface such as:
> 
> $dbh->pg_automatic_convert('json');
> 
> In which 'json' can be replaced by other things down the road. Or even 
> allow a second arg to a user coderef/object that knows how to convert 
> certain things.

You would need two code refs for back and forth. Would be useful for hstore, 
too.

D

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to