Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2022-04-19 00:04:55 +0000
committerTom Lane2022-04-19 00:04:55 +0000
commit587de223f03e6086d511dab16b17406eb21277ce (patch)
tree6ec6e21845b962e6fc8a5da9a9c6201e10ff79b7 /src/backend
parent36d4efe779bfc7190ea1c1cf8deb0d945b726663 (diff)
Add missing error handling in pg_md5_hash().
It failed to provide an error string as expected for the admittedly-unlikely case of OOM in pg_cryptohash_create(). Also, make it initialize *errstr to NULL for success, as pg_md5_binary() does. Also add missing comments. Readers should not have to reverse-engineer the API spec for a publicly visible routine.
Diffstat (limited to 'src/backend')
0 files changed, 0 insertions, 0 deletions