aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/varchar.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2024-09-04 14:45:31 +0200
committerPeter Eisentraut <peter@eisentraut.org>2024-09-04 14:45:31 +0200
commit82b07eba9e8b863cc05adb7e53a86ff02b51d888 (patch)
tree2528ed6202b46e8d82ea9ed1d997ac26b020265c /src/backend/utils/adt/varchar.c
parenta68159ff2b32f290b1136e2940470d50b8491301 (diff)
downloadpostgresql-82b07eba9e8b863cc05adb7e53a86ff02b51d888.tar.gz
postgresql-82b07eba9e8b863cc05adb7e53a86ff02b51d888.zip
Remove a couple of strerror() calls
Change to using %m in the error message string. We need to be a bit careful here to preserve errno until we need to print it. This change avoids the use of not-thread-safe strerror() and unifies some error message strings, and maybe makes the code appear more consistent. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://www.postgresql.org/message-id/flat/daa87d79-c044-46c4-8458-8d77241ed7b0%40eisentraut.org
Diffstat (limited to 'src/backend/utils/adt/varchar.c')
0 files changed, 0 insertions, 0 deletions