Catch invalid typlens in a couple of places
Rearrange the logic in record_image_cmp() and record_image_eq() to
error out on unexpected typlens (either not supported there or
completely invalid due to corruption). Barring corruption, this is
not possible today but it seems more future-proof and robust to fix
this.
Reported-by: Peter Geoghegan <pg@bowt.ie>
Branch
------
REL_10_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/1fee24a0b471f6b54ad9b87c8a89580e9bb66560
Modified Files
--------------
src/backend/utils/adt/rowtypes.c | 117 ++++++++++++++++++++-------------------
1 file changed, 61 insertions(+), 56 deletions(-)
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.