summaryrefslogtreecommitdiff
path: root/src/include/port.h
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2013-01-05 15:40:19 +0100
committerMagnus Hagander <magnus@hagander.net>2013-01-05 15:40:19 +0100
commit940d1366614a59713cdfd48daccd2ff9d26a4612 (patch)
tree4d9335e8d00aa240bbe9a4c9f2c2c8f03aac9c5f /src/include/port.h
parentfc8745070a53469a43ecbf999dc5692a36a649cc (diff)
Centralize single quote escaping in src/port/quotes.c
For code-reuse in upcoming functionality in pg_basebackup. Zoltan Boszormenyi
Diffstat (limited to 'src/include/port.h')
-rw-r--r--src/include/port.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/port.h b/src/include/port.h
index b6092c6fda8..eab8cfb7c6d 100644
--- a/src/include/port.h
+++ b/src/include/port.h
@@ -465,4 +465,7 @@ extern int pg_check_dir(const char *dir);
/* port/pgmkdirp.c */
extern int pg_mkdir_p(char *path, int omode);
+/* port/quotes.c */
+extern char *escape_single_quotes_ascii(const char *src);
+
#endif /* PG_PORT_H */