aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/dbcommands.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-08-07 10:43:52 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-08-07 10:44:10 +0300
commita38f5f880d1e86fedf1616de5391df5f0d5e4239 (patch)
tree5356b80828c51ae1bc183478d085f45284a9e675 /src/backend/commands/dbcommands.c
parent3cc5e51ab4507b33acc82684b7d79ac43b8a6b5d (diff)
downloadpostgresql-a38f5f880d1e86fedf1616de5391df5f0d5e4239.tar.gz
postgresql-a38f5f880d1e86fedf1616de5391df5f0d5e4239.zip
Make fallback MD5 implementation thread-safe on big-endian systems
Replace a static scratch buffer with a local variable, because a static buffer makes the function not thread-safe. This function is used in client-code in libpq, so it needs to be thread-safe. It was until commit b67b57a966, which replaced the implementation with the one from pgcrypto. Backpatch to v14, where we switched to the new implementation. Reviewed-by: Robert Haas, Michael Paquier Discussion: https://www.postgresql.org/message-id/dfa2015d-ad21-4802-a4cc-3850fc5fff3f@iki.fi
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions