diff options
author | Andres Freund | 2017-09-19 21:17:20 +0000 |
---|---|---|
committer | Andres Freund | 2017-09-19 21:25:47 +0000 |
commit | 71edbb6f66f7139d6209334ef8734a122ba06b56 (patch) | |
tree | 7a8644d2b6a04c67fdf92ae3f31c8b31b7968bbf /src/backend/access/gist/gistproc.c | |
parent | 54b6cd589ac2f5635a42511236a5eb7299e2dcaf (diff) |
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/[email protected]
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions