aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2012-05-10 20:38:17 +0300
committerPeter Eisentraut <peter_e@gmx.net>2012-05-10 20:40:30 +0300
commita97207b6908f1d4a7d19b37b818367bb0171039f (patch)
tree2449209dd19a0894107b9c616b0451b4a5f06a4c /src/backend/access/gist/gist.c
parent1540d3bf4d405278533377ba81dbbf1c857eaec0 (diff)
downloadpostgresql-a97207b6908f1d4a7d19b37b818367bb0171039f.tar.gz
postgresql-a97207b6908f1d4a7d19b37b818367bb0171039f.zip
PL/Python: Fix slicing support for result objects for Python 3
The old way of implementing slicing support by implementing PySequenceMethods.sq_slice no longer works in Python 3. You now have to implement PyMappingMethods.mp_subscript. Do this by simply proxying the call to the wrapped list of result dictionaries. Consolidate some of the subscripting regression tests. Jan UrbaƄski
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions