git.postgresql.org Git - postgresql.git/commit
2017年9月19日 21:17:20 +0000 (14:17 -0700)
2017年9月19日 21:25:47 +0000 (14:25 -0700)
commit 71edbb6f66f7139d6209334ef8734a122ba06b56
Avoid use of non-portable strnlen() in pgstat_clip_activity().
The use of strnlen rather than strlen was just paranoia. Instead of
giving up on the paranoia, just implement the safeguard
differently. And add a comment explaining why we're careful.
Author: Andres Freund
Discussion: https://postgr.es/m/E1duOkJ-0001Mc-U5@gemulon.postgresql.org
This is the main PostgreSQL git repository.
RSS
Atom