aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/variable.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2011-01-21 23:46:56 +0200
committerPeter Eisentraut <peter_e@gmx.net>2011-01-21 23:46:56 +0200
commit4609caf3645ae975724af1f7f57f831e516cf220 (patch)
treebb6bceebcfa37c5b0d7308e4b9e757edca584525 /src/backend/commands/variable.c
parentd3b372e92d4efdd6f63da35996f04ff009c932b5 (diff)
downloadpostgresql-4609caf3645ae975724af1f7f57f831e516cf220.tar.gz
postgresql-4609caf3645ae975724af1f7f57f831e516cf220.zip
Correctly add exceptions to the plpy module for Python 3
The way the exception types where added to the module was wrong for Python 3. Exception classes were not actually available from plpy. Fix that by factoring out code that is responsible for defining new Python exceptions and make it work with Python 3. New regression test makes sure the plpy module has the expected contents. Jan Urbanśki, slightly revised by me
Diffstat (limited to 'src/backend/commands/variable.c')
0 files changed, 0 insertions, 0 deletions