pgsql: Add pg_string_endswith as the start of a string helper library i - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Add pg_string_endswith as the start of a string helper library i
Date
Msg-id E1Y7VVH-0007Rv-Tq@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: Re: pgsql: Change how first WAL segment on new timeline after promotion is
Next
From: Andres Freund
Date:
Subject: pgsql: Prevent WAL files created by pg_basebackup -x/X from being archi