pgsql: Fix incorrect zero extension of Datum in JIT tuple deform code

2025-10-22 Thread David Rowley
Fix incorrect zero extension of Datum in JIT tuple deform code When JIT deformed tuples (controlled via the jit_tuple_deforming GUC), types narrower than sizeof(Datum) would be zero-extended up to Datum width. This wasn't the same as what fetch_att() does in the standard tuple deforming code. Lo

pgsql: Fix incorrect zero extension of Datum in JIT tuple deform code

2025-10-22 Thread David Rowley
Fix incorrect zero extension of Datum in JIT tuple deform code When JIT deformed tuples (controlled via the jit_tuple_deforming GUC), types narrower than sizeof(Datum) would be zero-extended up to Datum width. This wasn't the same as what fetch_att() does in the standard tuple deforming code. Lo

pgsql: Fix incorrect zero extension of Datum in JIT tuple deform code

2025-10-22 Thread David Rowley
Fix incorrect zero extension of Datum in JIT tuple deform code When JIT deformed tuples (controlled via the jit_tuple_deforming GUC), types narrower than sizeof(Datum) would be zero-extended up to Datum width. This wasn't the same as what fetch_att() does in the standard tuple deforming code. Lo

pgsql: Fix incorrect zero extension of Datum in JIT tuple deform code

2025-10-22 Thread David Rowley
Fix incorrect zero extension of Datum in JIT tuple deform code When JIT deformed tuples (controlled via the jit_tuple_deforming GUC), types narrower than sizeof(Datum) would be zero-extended up to Datum width. This wasn't the same as what fetch_att() does in the standard tuple deforming code. Lo

pgsql: Fix incorrect zero extension of Datum in JIT tuple deform code

2025-10-22 Thread David Rowley
Fix incorrect zero extension of Datum in JIT tuple deform code When JIT deformed tuples (controlled via the jit_tuple_deforming GUC), types narrower than sizeof(Datum) would be zero-extended up to Datum width. This wasn't the same as what fetch_att() does in the standard tuple deforming code. Lo

pgsql: Fix incorrect zero extension of Datum in JIT tuple deform code

2025-10-22 Thread David Rowley
Fix incorrect zero extension of Datum in JIT tuple deform code When JIT deformed tuples (controlled via the jit_tuple_deforming GUC), types narrower than sizeof(Datum) would be zero-extended up to Datum width. This wasn't the same as what fetch_att() does in the standard tuple deforming code. Lo

pgsql: Fix incorrect zero extension of Datum in JIT tuple deform code

2025-10-22 Thread David Rowley
Fix incorrect zero extension of Datum in JIT tuple deform code When JIT deformed tuples (controlled via the jit_tuple_deforming GUC), types narrower than sizeof(Datum) would be zero-extended up to Datum width. This wasn't the same as what fetch_att() does in the standard tuple deforming code. Lo