pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: hubert depesz lubaczewski <depesz@depesz.com>
To: Nikhil Ingale <niks.bgm@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: IS JSON STRICT - In oracle => postgres ??
Date: Wed, 14 Jun 2023 12:15:58 +0200
Message-ID: <ZImTXsqhJPs5urBa@depesz.com> (raw)
In-Reply-To: <CALXkTpx66eJKJM1YPFmYJNJwn2LeGAb7qkiXkhyOGBCoKA4isQ@mail.gmail.com>
References: <CALXkTpx66eJKJM1YPFmYJNJwn2LeGAb7qkiXkhyOGBCoKA4isQ@mail.gmail.com>

On Wed, Jun 14, 2023 at 03:30:50PM +0530, Nikhil Ingale wrote:
> Hi All,
> In oracle we can use the *is json* check constraint for the json column to
> ensure the data is well formed.
> How do we ensure the same in postgres database?

Well, if the data is in json(b) column, then it is well formed, isn't
it?

Best regards,

depesz






view thread (7+ messages)  latest in thread

Message-ID: <ZImTXsqhJPs5urBa@depesz.com>
Permalink:  ../ZImTXsqhJPs5urBa@depesz.com/
Also on:    postgresql.org/message-id/ZImTXsqhJPs5urBa@depesz.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: depesz@depesz.com, niks.bgm@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: IS JSON STRICT - In oracle => postgres ??
  In-Reply-To: <ZImTXsqhJPs5urBa@depesz.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox