diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2017-05-16 20:36:35 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2017-05-16 20:36:35 -0400 |
commit | c079673dcb7f210617c9fc1470e6bf166d8a2971 (patch) | |
tree | cd8a2c6834da8d1157f11a38cb6272dc48e42dd1 /src/bin/pg_dump/dumputils.c | |
parent | ddd243584a0f353bbaba260d976cc41b251bbf21 (diff) | |
download | postgresql-c079673dcb7f210617c9fc1470e6bf166d8a2971.tar.gz postgresql-c079673dcb7f210617c9fc1470e6bf166d8a2971.zip |
Preventive maintenance in advance of pgindent run.
Reformat various places in which pgindent will make a mess, and
fix a few small violations of coding style that I happened to notice
while perusing the diffs from a pgindent dry run.
There is one actual bug fix here: the need-to-enlarge-the-buffer code
path in icu_convert_case was obviously broken. Perhaps it's unreachable
in our usage? Or maybe this is just sadly undertested.
Diffstat (limited to 'src/bin/pg_dump/dumputils.c')
-rw-r--r-- | src/bin/pg_dump/dumputils.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/pg_dump/dumputils.c b/src/bin/pg_dump/dumputils.c index 19534248ab7..79eac8c7cf6 100644 --- a/src/bin/pg_dump/dumputils.c +++ b/src/bin/pg_dump/dumputils.c @@ -527,8 +527,7 @@ do { \ else if (strcmp(type, "LANGUAGE") == 0) CONVERT_PRIV('U', "USAGE"); else if (strcmp(type, "SCHEMA") == 0 || - strcmp(type, "SCHEMAS") == 0 - ) + strcmp(type, "SCHEMAS") == 0) { CONVERT_PRIV('C', "CREATE"); CONVERT_PRIV('U', "USAGE"); |