pgsql: Add pg_string_endswith as the start of a string helper library i

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add pg_string_endswith as the start of a string helper library i
Date: 2015-01-03 20:40:52
Message-ID: E1Y7VVE-0007RP-5s@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/ccb161b66addc9d0ede31359c05f7e9df61ab8d4

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2015-01-03 20:40:55 pgsql: Add pg_string_endswith as the start of a string helper library i
Previous Message Andres Freund 2015-01-03 18:59:57 Re: pgsql: Change how first WAL segment on new timeline after promotion is