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. Branch ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/70e36adb0d4b7f4656a06a5396a4cf65fc863323 Modified Files -------------- src/backend/replication/slot.c | 21 ++------------------ src/common/Makefile | 2 +- src/common/string.c | 43 ++++++++++++++++++++++++++++++++++++++++ src/include/common/string.h | 15 ++++++++++++++ src/tools/msvc/Mkvcbuild.pm | 2 +- 5 files changed, 62 insertions(+), 21 deletions(-) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
