Thread: pgsql: Centralize single quote escaping in src/port/quotes.c

pgsql: Centralize single quote escaping in src/port/quotes.c

From
Magnus Hagander
Date:
Centralize single quote escaping in src/port/quotes.c

For code-reuse in upcoming functionality in pg_basebackup.

Zoltan Boszormenyi

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/940d1366614a59713cdfd48daccd2ff9d26a4612

Modified Files
--------------
src/bin/initdb/initdb.c     |   41 ++++++++++++-----------------------------
src/include/port.h          |    3 +++
src/port/Makefile           |    2 +-
src/port/quotes.c           |   36 ++++++++++++++++++++++++++++++++++++
src/tools/msvc/Mkvcbuild.pm |    2 +-
5 files changed, 53 insertions(+), 31 deletions(-)