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

Run pgindent on 9.2 source tree in preparation for first 9.3

commit-fest.
This commit is contained in:
Bruce Momjian
2012-06-10 15:20:04 -04:00
parent 60801944fa
commit 927d61eeff
494 changed files with 7343 additions and 7046 deletions

View File

@@ -277,7 +277,7 @@ strip_quotes(char *source, char quote, char escape, int encoding)
/*
* quote_if_needed
*
* Opposite of strip_quotes(). If "source" denotes itself literally without
* Opposite of strip_quotes(). If "source" denotes itself literally without
* quoting or escaping, returns NULL. Otherwise, returns a malloc'd copy with
* quoting and escaping applied:
*
@@ -303,7 +303,7 @@ quote_if_needed(const char *source, const char *entails_quote,
psql_assert(quote);
src = source;
dst = ret = pg_malloc(2 * strlen(src) + 3); /* excess */
dst = ret = pg_malloc(2 * strlen(src) + 3); /* excess */
*dst++ = quote;