Make some use of anonymous unions [plpython]

Peter Eisentraut <peter@eisentraut.org>

Commit: 8b7f27fef3e225e0b34f0d9f1a9f20770b72d01c
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2025-09-30T10:35:50Z
Make some use of anonymous unions [plpython]

Make some use of anonymous unions, which are allowed as of C11, as
examples and encouragement for future code, and to test compilers.

This commit changes some structures in plpython.

Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/f00a9968-388e-4f8c-b5ef-5102e962d997%40eisentraut.org

Files

PathChange+/−
src/pl/plpython/plpy_exec.c modified +1 −1
src/pl/plpython/plpy_typeio.c modified +67 −67
src/pl/plpython/plpy_typeio.h modified +2 −2

Discussion