diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2018-03-06 13:17:13 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2018-03-06 13:21:04 -0300 |
commit | e20dd6a13d870f5c98a163031b38ba23753e628c (patch) | |
tree | e14664f77ea7caa6998084936a01194e38bb3f4e /src/backend/replication/logical/reorderbuffer.c | |
parent | 911e6236bab5b1c2240c087e5e8a110acdb724ba (diff) | |
download | postgresql-e20dd6a13d870f5c98a163031b38ba23753e628c.tar.gz postgresql-e20dd6a13d870f5c98a163031b38ba23753e628c.zip |
Fix bogus Name assignment in CreateStatistics
Apparently, it doesn't work to use a plain cstring as a Name datum: you
may end up having random bytes because of failing to zero the bytes
after the terminating \0, as indicated by valgrind. I introduced this
bug in 5564c1181548, so backpatch this fix to REL_10_STABLE, like that
commit.
While at it, fix a slightly misleading comment, pointed out by David
Rowley.
Diffstat (limited to 'src/backend/replication/logical/reorderbuffer.c')
0 files changed, 0 insertions, 0 deletions