1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

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

For code-reuse in upcoming functionality in pg_basebackup.

Zoltan Boszormenyi
This commit is contained in:
Magnus Hagander
2013-01-05 15:40:19 +01:00
parent fc8745070a
commit 940d136661
5 changed files with 53 additions and 31 deletions

View File

@@ -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 */