Re: Casts from jsonb to other types should cope with json null - Mailing list pgsql-hackers

From Maxim Orlov
Subject Re: Casts from jsonb to other types should cope with json null
Date
Msg-id CACG=eza_VY5DyrtJb44QLDr_-omaxXPd+_hBxT6O0QVYXhtLTg@mail.gmail.com
Whole thread Raw
In response to Casts from jsonb to other types should cope with json null  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers


On Fri, 24 Jan 2025 at 22:20, Tom Lane <tgl@sss.pgh.pa.us> wrote:

What I am realizing is that "JSON null becomes SQL NULL" is a rule
that is adapted to use-case #2 but not so much to use-case #1.
OK, I think I've got it.
 
So here's the patch, just because I promised it, but I'm now
thinking about withdrawing it.
Thanks for explanation, at your will.


--
Best regards,
Maxim Orlov.

pgsql-hackers by date:

Previous
From: Tender Wang
Date:
Subject: Re: Adjust tuples estimate for appendrels
Next
From: Umar Hayat
Date:
Subject: Re: Add XMLNamespaces to XMLElement