aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/tsvector.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2023-10-01 12:09:26 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2023-10-01 12:09:26 -0400
commitd8a09939a3e830c7e2c3a68925d5f4c298dc3336 (patch)
tree8f663c6255c739301c264a0ef2d37d8bba93da42 /src/backend/utils/adt/tsvector.c
parent276393f53efbf08f72190221e9c1ef2a28e7fc66 (diff)
downloadpostgresql-d8a09939a3e830c7e2c3a68925d5f4c298dc3336.tar.gz
postgresql-d8a09939a3e830c7e2c3a68925d5f4c298dc3336.zip
In COPY FROM, fail cleanly when unsupported encoding conversion is needed.
In recent releases, such cases fail with "cache lookup failed for function 0" rather than complaining that the conversion function doesn't exist as prior versions did. Seems to be a consequence of sloppy refactoring in commit f82de5c46. Add the missing error check. Per report from Pierre Fortin. Back-patch to v14 where the oversight crept in. Discussion: https://postgr.es/m/20230929163739.3bea46e5.pfortin@pfortin.com
Diffstat (limited to 'src/backend/utils/adt/tsvector.c')
0 files changed, 0 insertions, 0 deletions