Fix an incorrect assert condition (noted by Coverity), and spell the new name of the function correctly. Typos introduced in commit 7c4f52409.
5459cfd Fix typos in logical replication support for initial data copy.
src/backend/replication/logical/snapbuild.c | 8 ++++----
src/backend/replication/walsender.c | 2 +-
src/include/replication/snapbuild.h | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)