pgsql: Fix internal error from CollateExpr in SQL/JSON DEFAULT expressi

2025-10-17 Thread Amit Langote
Fix internal error from CollateExpr in SQL/JSON DEFAULT expressions SQL/JSON functions such as JSON_VALUE could fail with "unrecognized node type" errors when a DEFAULT clause contained an explicit COLLATE expression. That happened because assign_collations_walker() could invoke exprSetCollation()

pgsql: Fix internal error from CollateExpr in SQL/JSON DEFAULT expressi

2025-10-12 Thread Amit Langote
Fix internal error from CollateExpr in SQL/JSON DEFAULT expressions SQL/JSON functions such as JSON_VALUE could fail with "unrecognized node type" errors when a DEFAULT clause contained an explicit COLLATE expression. That happened because assign_collations_walker() could invoke exprSetCollation()

pgsql: Fix internal error from CollateExpr in SQL/JSON DEFAULT expressi

2025-10-08 Thread Amit Langote
Fix internal error from CollateExpr in SQL/JSON DEFAULT expressions SQL/JSON functions such as JSON_VALUE could fail with "unrecognized node type" errors when a DEFAULT clause contained an explicit COLLATE expression. That happened because assign_collations_walker() could invoke exprSetCollation()