aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/dynloader/linux.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2018-08-29 11:10:17 +0200
committerPeter Eisentraut <peter_e@gmx.net>2018-09-05 16:32:38 +0200
commitf5a6509bb1ec5222a707205941a40f280f3e6e15 (patch)
treeca8a86da2a1e7d262d62fc0e42246aa7e8822ef4 /src/backend/port/dynloader/linux.c
parentdd6073f22a6b5dd6181d8324465dd3c0bf1851e8 (diff)
downloadpostgresql-f5a6509bb1ec5222a707205941a40f280f3e6e15.tar.gz
postgresql-f5a6509bb1ec5222a707205941a40f280f3e6e15.zip
PL/Python: Remove use of simple slicing API
The simple slicing API (sq_slice, sq_ass_slice) has been deprecated since Python 2.0 and has been removed altogether in Python 3, so remove those functions from the PLyResult class. Instead, the non-slice mapping functions mp_subscript and mp_ass_subscript can take slice objects as an index. Since we just pass the index through to the underlying list object, we already support that. Test coverage was already in place.
Diffstat (limited to 'src/backend/port/dynloader/linux.c')
0 files changed, 0 insertions, 0 deletions