Add pg_string_endswith as the start of a string helper library in src/common.
authorAndres Freund <andres@anarazel.de>
Sat, 3 Jan 2015 19:51:52 +0000 (20:51 +0100)
committerAndres Freund <andres@anarazel.de>
Sat, 3 Jan 2015 19:54:12 +0000 (20:54 +0100)
commitccb161b66addc9d0ede31359c05f7e9df61ab8d4
tree71a9798e0fd2ad3117d972167fde404379f0f48b
parentd6657d2a107bee20d63ec2f776d873242f9355e9
Add pg_string_endswith as the start of a string helper library in src/common.

Backpatch to 9.3 where src/common was introduce, because a bugfix that
needs to be backpatched, requires the function. Earlier branches will
have to duplicate the code.
src/backend/replication/slot.c
src/common/Makefile
src/common/string.c [new file with mode: 0644]
src/include/common/string.h [new file with mode: 0644]
src/tools/msvc/Mkvcbuild.pm