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/backend/commands | |
parent | ddd243584a0f353bbaba260d976cc41b251bbf21 (diff) |
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/backend/commands')
-rw-r--r-- | src/backend/commands/publicationcmds.c | 4 | ||||
-rw-r--r-- | src/backend/commands/subscriptioncmds.c | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/backend/commands/publicationcmds.c b/src/backend/commands/publicationcmds.c index 14c2f68d59f..1c8d88d336e 100644 --- a/src/backend/commands/publicationcmds.c +++ b/src/backend/commands/publicationcmds.c @@ -493,8 +493,10 @@ OpenTableList(List *tables) rel = heap_openrv(rv, ShareUpdateExclusiveLock); myrelid = RelationGetRelid(rel); + /* - * filter out duplicates when user specifies "foo, foo" + * Filter out duplicates if user specifies "foo, foo". + * * Note that this algorithm is known to not be very efficient (O(N^2)) * but given that it only works on list of tables given to us by user * it's deemed acceptable. diff --git a/src/backend/commands/subscriptioncmds.c b/src/backend/commands/subscriptioncmds.c index 304ac842a55..b80af275da5 100644 --- a/src/backend/commands/subscriptioncmds.c +++ b/src/backend/commands/subscriptioncmds.c @@ -296,6 +296,7 @@ CreateSubscription(CreateSubscriptionStmt *stmt, bool isTopLevel) /* * Parse and check options. + * * Connection and publication should not be specified here. */ parse_subscription_options(stmt->options, &connect, &enabled_given, |