aboutsummaryrefslogtreecommitdiff
path: root/src/backend/postmaster/fork_process.c
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2020-11-06 08:12:48 +0530
committerAmit Kapila <akapila@postgresql.org>2020-11-06 08:12:48 +0530
commit4f841ce3f7f4d429a3a275f82745d63c78cde4b2 (patch)
tree67d3968a270d60ac09715ecbfc68c43e1f92a665 /src/backend/postmaster/fork_process.c
parentefc5dcfd8ad4e1df633025d8a91b64cd44d93f42 (diff)
downloadpostgresql-4f841ce3f7f4d429a3a275f82745d63c78cde4b2.tar.gz
postgresql-4f841ce3f7f4d429a3a275f82745d63c78cde4b2.zip
Use strlcpy instead of memcpy for copying the slot name in pgstat.c.
There is no outright bug here but it is better to be consistent with the usage at other places in the same file. In the passing, fix a wrong assertion in pgstat_recv_replslot. Author: Kyotaro Horiguchi Reviewed-by: Sawada Masahiko and Amit Kapila Discussion: https://postgr.es/m/20201104.175523.1704166915688949637.horikyota.ntt@gmail.com
Diffstat (limited to 'src/backend/postmaster/fork_process.c')
0 files changed, 0 insertions, 0 deletions