mirror of
https://github.com/postgres/postgres.git
synced 2025-10-27 00:12:01 +03:00
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.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user