diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2025-01-24 13:20:44 -0500 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2025-01-24 13:20:44 -0500 |
| commit | a5579a90af05814eb5dc2fd5f68ce803899d2504 (patch) | |
| tree | 989556c16196c7447fe081458537ac590957109e /contrib/btree_gist/expected/uuid.out | |
| parent | 13a255c195c9911d6b66179f5c2344597dc47155 (diff) | |
Make jsonb casts to scalar types translate JSON null to SQL NULL.
Formerly, these cases threw an error "cannot cast jsonb null to type
<whatever>". That seems less than helpful though. It's also
inconsistent with the behavior of the ->> operator, which translates
JSON null to SQL NULL, as do some other jsonb functions.
Discussion: https://postgr.es/m/3851203.1722552717@sss.pgh.pa.us
Diffstat (limited to 'contrib/btree_gist/expected/uuid.out')
0 files changed, 0 insertions, 0 deletions
