pgsql: Tighten array dimensionality checks in Python -> SQL array conve

2023-05-04 Thread Tom Lane
Tighten array dimensionality checks in Python -> SQL array conversion. Like plperl before f47004add, plpython wasn't being sufficiently careful about checking that list-of-list structures represent rectangular arrays, so that it would accept some cases in which different parts of the "array" are n

pgsql: Tighten array dimensionality checks in Python -> SQL array conve

2023-05-04 Thread Tom Lane
Tighten array dimensionality checks in Python -> SQL array conversion. Like plperl before f47004add, plpython wasn't being sufficiently careful about checking that list-of-list structures represent rectangular arrays, so that it would accept some cases in which different parts of the "array" are n

pgsql: Tighten array dimensionality checks in Python -> SQL array conve

2023-05-04 Thread Tom Lane
Tighten array dimensionality checks in Python -> SQL array conversion. Like plperl before f47004add, plpython wasn't being sufficiently careful about checking that list-of-list structures represent rectangular arrays, so that it would accept some cases in which different parts of the "array" are n

pgsql: Tighten array dimensionality checks in Python -> SQL array conve

2023-05-04 Thread Tom Lane
Tighten array dimensionality checks in Python -> SQL array conversion. Like plperl before f47004add, plpython wasn't being sufficiently careful about checking that list-of-list structures represent rectangular arrays, so that it would accept some cases in which different parts of the "array" are n

pgsql: Tighten array dimensionality checks in Python -> SQL array conve

2023-05-04 Thread Tom Lane
Tighten array dimensionality checks in Python -> SQL array conversion. Like plperl before f47004add, plpython wasn't being sufficiently careful about checking that list-of-list structures represent rectangular arrays, so that it would accept some cases in which different parts of the "array" are n

pgsql: Tighten array dimensionality checks in Python -> SQL array conve

2023-05-04 Thread Tom Lane
Tighten array dimensionality checks in Python -> SQL array conversion. Like plperl before f47004add, plpython wasn't being sufficiently careful about checking that list-of-list structures represent rectangular arrays, so that it would accept some cases in which different parts of the "array" are n