pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: Wyatt Alt <wyatt.alt@gmail.com>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: Re: why are null bytes allowed in JSON columns?
Date: Fri, 22 Sep 2023 17:37:37 -0400
Message-ID: <e68bfe8c-fea8-99eb-a86a-c65e24d1a6ad@dunslane.net> (raw)
In-Reply-To: <CAGem3qAne7+vGtnP8e5rp_va3EkyKsSnCCDBH=S49kD3vRYX4A@mail.gmail.com>
References: <CAGem3qDepjdfXjWUSb7gx=8E9TYU_BW_dd=JkgfpnUbsrHE2Nw@mail.gmail.com>
	<CAKFQuwawwHJsahVL60=uRnMnc0O_DK4z-yfKLaA5SPmqv0HGcA@mail.gmail.com>
	<CAGem3qAne7+vGtnP8e5rp_va3EkyKsSnCCDBH=S49kD3vRYX4A@mail.gmail.com>


On 2023-09-21 Th 21:57, Wyatt Alt wrote:
> Thanks for the clarification. I now see the "Note" above the table 
> explains this.


Essentially the json data type allows anything that is syntactically 
valid according to the standard.  That doesn't mean that functions 
operating on the type can always work, and this is the most obvious of 
such restrictions.


cheers


andrew

--
Andrew Dunstan
EDB:https://www.enterprisedb.com

view thread (4+ messages)

Message-ID: <e68bfe8c-fea8-99eb-a86a-c65e24d1a6ad@dunslane.net>
Permalink:  ../e68bfe8c-fea8-99eb-a86a-c65e24d1a6ad@dunslane.net/
Also on:    postgresql.org/message-id/e68bfe8c-fea8-99eb-a86a-c65e24d1a6ad@dunslane.net

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: andrew@dunslane.net, wyatt.alt@gmail.com, david.g.johnston@gmail.com
  Subject: Re: why are null bytes allowed in JSON columns?
  In-Reply-To: <e68bfe8c-fea8-99eb-a86a-c65e24d1a6ad@dunslane.net>
  References: <CAGem3qDepjdfXjWUSb7gx=8E9TYU_BW_dd=JkgfpnUbsrHE2Nw@mail.gmail.com> <CAKFQuwawwHJsahVL60=uRnMnc0O_DK4z-yfKLaA5SPmqv0HGcA@mail.gmail.com> <CAGem3qAne7+vGtnP8e5rp_va3EkyKsSnCCDBH=S49kD3vRYX4A@mail.gmail.com> <e68bfe8c-fea8-99eb-a86a-c65e24d1a6ad@dunslane.net>

* 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