aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonpath.c
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2023-07-25 09:01:29 +0530
committerAmit Kapila <akapila@postgresql.org>2023-07-25 09:01:29 +0530
commitad486b0eaef4b2fcb7c672fcbf5c2f31eb99ac83 (patch)
tree8d7e2c85e37fbc9213c27dca77ccc16698ec5741 /src/backend/utils/adt/jsonpath.c
parentbd2f46c6559ddcafe7bae5015ac45b69bc014067 (diff)
downloadpostgresql-ad486b0eaef4b2fcb7c672fcbf5c2f31eb99ac83.tar.gz
postgresql-ad486b0eaef4b2fcb7c672fcbf5c2f31eb99ac83.zip
Fix the display of UNKNOWN message type in apply worker.
We include the message type while displaying an error context in the apply worker. Now, while retrieving the message type string if the message type is unknown we throw an error that will hide the original error. So, instead, we need to simply return the string indicating an unknown message type. Reported-by: Ashutosh Bapat Author: Euler Taveira, Amit Kapila Reviewed-by: Ashutosh Bapat Backpatch-through: 15 Discussion: https://postgr.es/m/CAExHW5suAEDW-mBZt_qu4RVxWZ1vL54-L+ci2zreYWebpzxYsA@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/jsonpath.c')
0 files changed, 0 insertions, 0 deletions