Re: jsonb_set() strictness considered harmful to data
От
Laurenz Albe
Тема
Re: jsonb_set() strictness considered harmful to data
Дата
Msg-id
d502306ecbad6b6fc5b02db80c82030c87e1497d.camel@cybertec.at
Ответ на
Re: jsonb_set() strictness considered harmful to data (David G. Johnston)
Список
Дерево обсуждения
jsonb_set() strictness considered harmful to data Ariadne Conill <ariadne@dereferenced.org>
Re: jsonb_set() strictness considered harmful to data Christoph Moench-Tegeder <cmt@burggraben.net>
Re: jsonb_set() strictness considered harmful to data Ariadne Conill <ariadne@dereferenced.org>
Re: jsonb_set() strictness considered harmful to data Christoph Moench-Tegeder <cmt@burggraben.net>
Re: jsonb_set() strictness considered harmful to data Ariadne Conill <ariadne@dereferenced.org>
Re: jsonb_set() strictness considered harmful to data Stephen Frost <sfrost@snowman.net>
Re: jsonb_set() strictness considered harmful to data Christoph Moench-Tegeder <cmt@burggraben.net>
Re: jsonb_set() strictness considered harmful to data "David G. Johnston" <david.g.johnston@gmail.com>
Re: jsonb_set() strictness considered harmful to data Ariadne Conill <ariadne@dereferenced.org>
Re: jsonb_set() strictness considered harmful to data Adrian Klaver <adrian.klaver@aklaver.com>
Re: jsonb_set() strictness considered harmful to data Ariadne Conill <ariadne@dereferenced.org>
Re: jsonb_set() strictness considered harmful to data Stephen Frost <sfrost@snowman.net>
Re: jsonb_set() strictness considered harmful to data Ariadne Conill <ariadne@dereferenced.org>
Re: jsonb_set() strictness considered harmful to data Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: jsonb_set() strictness considered harmful to data Dmitry Dolgov <9erthalion6@gmail.com>
Re: jsonb_set() strictness considered harmful to data Stephen Frost <sfrost@snowman.net>
Re: jsonb_set() strictness considered harmful to data Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: jsonb_set() strictness considered harmful to data Adrian Klaver <adrian.klaver@aklaver.com>
Re: jsonb_set() strictness considered harmful to data Ariadne Conill <ariadne@dereferenced.org>
Re: jsonb_set() strictness considered harmful to data Adrian Klaver <adrian.klaver@aklaver.com>
Re: jsonb_set() strictness considered harmful to data Laurenz Albe <laurenz.albe@cybertec.at>
Re: jsonb_set() strictness considered harmful to data Paul A Jungwirth <pj@illuminatedcomputing.com>
Re: jsonb_set() strictness considered harmful to data Pavel Stehule <pavel.stehule@gmail.com>
Re: jsonb_set() strictness considered harmful to data "David G. Johnston" <david.g.johnston@gmail.com>
Re: jsonb_set() strictness considered harmful to data Pavel Stehule <pavel.stehule@gmail.com>
Re: jsonb_set() strictness considered harmful to data Ariadne Conill <ariadne@dereferenced.org>
Re: jsonb_set() strictness considered harmful to data Steve Atkins <steve@blighty.com>
Re: jsonb_set() strictness considered harmful to data "Mark Felder" <feld@FreeBSD.org>
Re: jsonb_set() strictness considered harmful to data Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: jsonb_set() strictness considered harmful to data Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: jsonb_set() strictness considered harmful to data Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: jsonb_set() strictness considered harmful to data "David G. Johnston" <david.g.johnston@gmail.com>
Re: jsonb_set() strictness considered harmful to data Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: jsonb_set() strictness considered harmful to data Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: jsonb_set() strictness considered harmful to data Ariadne Conill <ariadne@dereferenced.org>
jsonb_set() strictness considered harmful to data Floris Van Nee <florisvannee@Optiver.com>
Re: jsonb_set() strictness considered harmful to data Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: jsonb_set() strictness considered harmful to data "David G. Johnston" <david.g.johnston@gmail.com>
Re: jsonb_set() strictness considered harmful to data Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: jsonb_set() strictness considered harmful to data Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: jsonb_set() strictness considered harmful to data Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: jsonb_set() strictness considered harmful to data Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: jsonb_set() strictness considered harmful to data Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: jsonb_set() strictness considered harmful to data Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: jsonb_set() strictness considered harmful to data "Mark Felder" <feld@FreeBSD.org>
Re: jsonb_set() strictness considered harmful to data Pavel Stehule <pavel.stehule@gmail.com>
Re: jsonb_set() strictness considered harmful to data Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: jsonb_set() strictness considered harmful to data Pavel Stehule <pavel.stehule@gmail.com>
Re: jsonb_set() strictness considered harmful to data Michael Paquier <michael@paquier.xyz>
Re: jsonb_set() strictness considered harmful to data Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: jsonb_set() strictness considered harmful to data Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: jsonb_set() strictness considered harmful to data Pavel Stehule <pavel.stehule@gmail.com>
Re: jsonb_set() strictness considered harmful to data Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: jsonb_set() strictness considered harmful to data Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: jsonb_set() strictness considered harmful to data "Ariadne Conill" <ariadne@dereferenced.org>
Re: jsonb_set() strictness considered harmful to data Rob Sargent <robjsargent@gmail.com>
Re: jsonb_set() strictness considered harmful to data Adrian Klaver <adrian.klaver@aklaver.com>
Re: jsonb_set() strictness considered harmful to data Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: jsonb_set() strictness considered harmful to data Adrian Klaver <adrian.klaver@aklaver.com>
Re: jsonb_set() strictness considered harmful to data rob stone <floriparob@gmail.com>
Re: jsonb_set() strictness considered harmful to data "David G. Johnston" <david.g.johnston@gmail.com>
Re: jsonb_set() strictness considered harmful to data Steven Pousty <steve.pousty@gmail.com>
Re: jsonb_set() strictness considered harmful to data raf <raf@raf.org>
Re: jsonb_set() strictness considered harmful to data Steven Pousty <steve.pousty@gmail.com>
Re: jsonb_set() strictness considered harmful to data raf <raf@raf.org>
Re: jsonb_set() strictness considered harmful to data "Peter J. Holzer" <hjp-pgsql@hjp.at>
Re: jsonb_set() strictness considered harmful to data "Peter J. Holzer" <hjp-pgsql@hjp.at>
Re: jsonb_set() strictness considered harmful to data Steve Atkins <steve@blighty.com>
Re: jsonb_set() strictness considered harmful to data "Peter J. Holzer" <hjp-pgsql@hjp.at>
Re: jsonb_set() strictness considered harmful to data "David G. Johnston" <david.g.johnston@gmail.com>
Re: jsonb_set() strictness considered harmful to data "Peter J. Holzer" <hjp-pgsql@hjp.at>
Re: jsonb_set() strictness considered harmful to data rob stone <floriparob@gmail.com>
Re: jsonb_set() strictness considered harmful to data Laurenz Albe <laurenz.albe@cybertec.at>
Re: jsonb_set() strictness considered harmful to data Stuart McGraw <smcg4191@mtneva.com>
Re: jsonb_set() strictness considered harmful to data Laurenz Albe <laurenz.albe@cybertec.at>
Re: jsonb_set() strictness considered harmful to data Tom Lane <tgl@sss.pgh.pa.us>
Re: jsonb_set() strictness considered harmful to data Stuart McGraw <smcg4191@mtneva.com>
Re: jsonb_set() strictness considered harmful to data Maurice Aubrey <maurice.aubrey@gmail.com>
Re: jsonb_set() strictness considered harmful to data Maciek Sakrejda <m.sakrejda@gmail.com>
Re: jsonb_set() strictness considered harmful to data "David G. Johnston" <david.g.johnston@gmail.com>
Re: jsonb_set() strictness considered harmful to data Isaac Morland <isaac.morland@gmail.com>
David G. Johnston wrote: > Now if only the vast majority of users could have and keep this level of understanding > in mind while writing complex queries so that they remember to always add protections > to compensate for the unique design decision that SQL has taken here... You can only say that if you don't understand NULL (you wouldn't be alone). If I modify a JSON with an unknown value, the result is unknown. This seems very intuitive to me. One could argue that whoever uses SQL should understand SQL. But I believe that it is reasonable to suppose that many people who use JSON in the database are more savvy with JSON than with SQL (they might not have chosen JSON otherwise), so I agree that it makes sense to change this particular behavior. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com
В списке pgsql-general по дате отправления
От: David G. Johnston
Дата: