pgsql: SQL/JSON: Some fixes to JsonBehavior expression casting

2024-07-29 Thread Amit Langote
SQL/JSON: Some fixes to JsonBehavior expression casting 1. Remove the special case handling when casting the JsonBehavior expressions to types with typmod, like 86d33987 did for the casting of SQL/JSON constructor functions. 2. Fix casting for fixed-length character and bit string types by

pgsql: SQL/JSON: Some fixes to JsonBehavior expression casting

2024-07-29 Thread Amit Langote
SQL/JSON: Some fixes to JsonBehavior expression casting 1. Remove the special case handling when casting the JsonBehavior expressions to types with typmod, like 86d33987 did for the casting of SQL/JSON constructor functions. 2. Fix casting for fixed-length character and bit string types by