aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeSubqueryscan.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-03-16 11:16:41 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2021-03-16 11:16:41 -0400
commit1ea396362be1615e926ea69d666c770081a0d3ef (patch)
treeb843c6b8aa55194d798a066a50ec45138a0d1626 /src/backend/executor/nodeSubqueryscan.c
parent015061690c6526ff9f9f7af2940e1c1541654b68 (diff)
downloadpostgresql-1ea396362be1615e926ea69d666c770081a0d3ef.tar.gz
postgresql-1ea396362be1615e926ea69d666c770081a0d3ef.zip
Improve logging of bad parameter values in BIND messages.
Since commit ba79cb5dc, values of bind parameters have been logged during errors in extended query mode. However, we only did that after we'd collected and converted all the parameter values, thus failing to offer any useful localization of invalid-parameter problems. Add a separate callback that's used during parameter collection, and have it print the parameter number, along with the input string if text input format is used. Justin Pryzby and Tom Lane Discussion: https://postgr.es/m/20210104170939.GH9712@telsasoft.com Discussion: https://postgr.es/m/CANfkH5k-6nNt-4cSv1vPB80nq2BZCzhFVR5O4VznYbsX0wZmow@mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeSubqueryscan.c')
0 files changed, 0 insertions, 0 deletions