Re: How is JSON stored in PG ?

From: Ray O'Donnell <ray(at)rodonnell(dot)ie>
To: David Gauthier <davegauthierpg(at)gmail(dot)com>, Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: How is JSON stored in PG ?
Date: 2021-11-16 16:46:50
Message-ID: 494df2a3-5201-33c6-d973-0e7baa09bb20@rodonnell.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 16/11/2021 15:54, David Gauthier wrote:
>
> Pros and Cons for using JSON ?

If it helps, here's my current use-case. I'm currently working on a
project wherein data is captured from students for eventual submission
to the relevant government department. The exact set of data required
changes every so often, and it's not used anywhere else in the
application, so I'm going to store it in a JSONB column, with a schema
stored (also in JSONB) in a separate table which can be used to validate
the data. I'll have a version number on the schema, and this will be
kept in the student record also.

Ray.

--
Raymond O'Donnell // Galway // Ireland
ray(at)rodonnell(dot)ie

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Дмитрий Иванов 2021-11-16 16:57:38 Re: pg_restore depending on user functions
Previous Message Dave Cramer 2021-11-16 16:41:11 Re: Performance question about using autosave=always and cleanupSavepoints=true