diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-01-08 11:39:28 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-01-08 11:39:28 -0500 |
commit | a66c1fcdd7e4291561c5cdebc1d02784050260e2 (patch) | |
tree | 10e252f4cddf5e42a2cab0d77bed5407c2e044b7 /src/backend/replication/logical/logicalfuncs.c | |
parent | 6a1a44037b63e1c0e51dd2ca7374191c2f5362b1 (diff) | |
download | postgresql-a66c1fcdd7e4291561c5cdebc1d02784050260e2.tar.gz postgresql-a66c1fcdd7e4291561c5cdebc1d02784050260e2.zip |
PL/Python: Make tests pass with Python 3.5
The error message wording for AttributeError has changed in Python 3.5.
For the plpython_error test, add a new expected file. In the
plpython_subtransaction test, we didn't really care what the exception
is, only that it is something coming from Python. So use a generic
exception instead, which has a message that doesn't vary across
versions.
Back-patch of commit f16d52269a196f7f303abe3b978d95ade265f05f, which
was previously back-patched into 9.2-9.4, but missed 9.5.
Diffstat (limited to 'src/backend/replication/logical/logicalfuncs.c')
0 files changed, 0 insertions, 0 deletions