Re: Best way to populate nested composite type from JSON`

From: Chris Travers <chris(dot)travers(at)gmail(dot)com>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Best way to populate nested composite type from JSON`
Date: 2013-09-13 15:08:43
Message-ID: CAKt_ZfsBgXTSjNsYsOZd8geMm6H0JKYCZsO64xndNGL+aDfnjA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Sep 13, 2013 at 7:58 AM, Merlin Moncure <mmoncure(at)gmail(dot)com> wrote:

> Yup. As things stand currently, it's better *not* to make
> serialization-driving composite types which when learning the json
> stuff I did heavily; it was a habit I learned (and had to unlearn)
> from libpqtypes which solves a lot of the same problems for C clients.
> You can *almost* send json back to the database with the same
> elegance as it can be sent out of the database. I see a big future
> for postgres-json with many roadmap improvements; it's a complete game
> change for service call driven database interaction and forward
> thinking developers should realize it essentially obsoletes ORMS.
>
> merlin
>

In your view, would it be better to serialize in the pseudo-nested-csv
(native row/array) formats?

--
Best Wishes,
Chris Travers

Efficito: Hosted Accounting and ERP. Robust and Flexible. No vendor
lock-in.
http://www.efficito.com/learn_more.shtml

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2013-09-13 15:51:07 Re: Best way to populate nested composite type from JSON`
Previous Message Merlin Moncure 2013-09-13 15:01:17 Re: e: Running/cumulative count using windows