diff options
| author | Tom Lane | 2025-01-24 18:20:44 +0000 |
|---|---|---|
| committer | Tom Lane | 2025-01-24 18:20:44 +0000 |
| commit | a5579a90af05814eb5dc2fd5f68ce803899d2504 (patch) | |
| tree | 989556c16196c7447fe081458537ac590957109e /src/backend/postmaster | |
| 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/[email protected]
Diffstat (limited to 'src/backend/postmaster')
0 files changed, 0 insertions, 0 deletions
