aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistproc.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2020-10-02 18:23:39 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2020-10-02 18:23:39 +0300
commit26b8361518c393c2f152e9e3837daf605b34bef8 (patch)
treea069a9801cd5d2eaac57988b6a85428ffcba4911 /src/backend/access/gist/gistproc.c
parent8550cbd0bae7c3004034351cb3447b51a552e56c (diff)
downloadpostgresql-26b8361518c393c2f152e9e3837daf605b34bef8.tar.gz
postgresql-26b8361518c393c2f152e9e3837daf605b34bef8.zip
Tidy up error reporting when converting PL/Python arrays.
Use PLy_elog() only when a call to a Python C API function failed, and ereport() for other errors. Add an error code to the "wrong length of inner sequence" ereport(). Reviewed-by: Daniel Gustafsson Discussion: https://www.postgresql.org/message-id/B8B72889-D6D7-48FF-B782-D670A6CA4D37%40yesql.se
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions