diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2016-10-26 14:44:55 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2016-10-26 14:44:55 +0300 |
commit | cfd9c87a54b0d414a59a912710c6633313174e51 (patch) | |
tree | 9123bc75964ce7996e4de68db063813e5540e117 /src/backend/executor/nodeFunctionscan.c | |
parent | 73c8e8506cd1933ccf5c5d61088ca171a5f414c0 (diff) | |
download | postgresql-cfd9c87a54b0d414a59a912710c6633313174e51.tar.gz postgresql-cfd9c87a54b0d414a59a912710c6633313174e51.zip |
Only treat Python Lists as array dimensions.
Instead of treating all python sequence types as array dimensions, except
for tuples and various kinds of strings, only treat Python lists as
dimensions. The PyBytes_Check() function used previously is only available
on Python 2.6 and newer, and it was a bit fiddly anyway. The list of
exceptions would require adjustment if Python got a new kind of a sequence
similar to bytes/unicodes/strings, so only checking for Lists seems more
future-proof. The documentation only mentioned using Lists, so this is
closer to what was documented, anyway.
This should fix the buildfarm failures on systems building with Python 2.5,
although I don't have Python 2.5 installed myself to test with.
Diffstat (limited to 'src/backend/executor/nodeFunctionscan.c')
0 files changed, 0 insertions, 0 deletions