summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistutil.c
diff options
context:
space:
mode:
authorAndres Freund2017-09-19 21:17:20 +0000
committerAndres Freund2017-09-19 21:25:47 +0000
commit71edbb6f66f7139d6209334ef8734a122ba06b56 (patch)
tree7a8644d2b6a04c67fdf92ae3f31c8b31b7968bbf /src/backend/access/gist/gistutil.c
parent54b6cd589ac2f5635a42511236a5eb7299e2dcaf (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/gistutil.c')
0 files changed, 0 insertions, 0 deletions