diff options
author | Tom Lane | 2019-05-22 16:55:34 +0000 |
---|---|---|
committer | Tom Lane | 2019-05-22 16:55:34 +0000 |
commit | be76af171cdb3e7465c4ef234af403f97ad79b7b (patch) | |
tree | 1fa62d2b7a6680a4237a1548f7002fa0b234b143 /src/backend/partitioning/partdesc.c | |
parent | 66a4bad83aaa6613a45a00a488c04427f9969fb4 (diff) |
Initial pgindent run for v12.
This is still using the 2.0 version of pg_bsd_indent.
I thought it would be good to commit this separately,
so as to document the differences between 2.0 and 2.1 behavior.
Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/backend/partitioning/partdesc.c')
-rw-r--r-- | src/backend/partitioning/partdesc.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/backend/partitioning/partdesc.c b/src/backend/partitioning/partdesc.c index 4d6595b2497..b207b765f2a 100644 --- a/src/backend/partitioning/partdesc.c +++ b/src/backend/partitioning/partdesc.c @@ -38,7 +38,7 @@ typedef struct PartitionDirectoryData { MemoryContext pdir_mcxt; HTAB *pdir_hash; -} PartitionDirectoryData; +} PartitionDirectoryData; typedef struct PartitionDirectoryEntry { @@ -74,9 +74,9 @@ RelationBuildPartitionDesc(Relation rel) /* * Get partition oids from pg_inherits. This uses a single snapshot to - * fetch the list of children, so while more children may be getting - * added concurrently, whatever this function returns will be accurate - * as of some well-defined point in time. + * fetch the list of children, so while more children may be getting added + * concurrently, whatever this function returns will be accurate as of + * some well-defined point in time. */ inhoids = find_inheritance_children(RelationGetRelid(rel), NoLock); nparts = list_length(inhoids); @@ -122,14 +122,14 @@ RelationBuildPartitionDesc(Relation rel) * * Note that this algorithm assumes that PartitionBoundSpec we manage * to fetch is the right one -- so this is only good enough for - * concurrent ATTACH PARTITION, not concurrent DETACH PARTITION - * or some hypothetical operation that changes the partition bounds. + * concurrent ATTACH PARTITION, not concurrent DETACH PARTITION or + * some hypothetical operation that changes the partition bounds. */ if (boundspec == NULL) { Relation pg_class; - SysScanDesc scan; - ScanKeyData key[1]; + SysScanDesc scan; + ScanKeyData key[1]; Datum datum; bool isnull; @@ -301,7 +301,7 @@ PartitionDirectoryLookup(PartitionDirectory pdir, Relation rel) void DestroyPartitionDirectory(PartitionDirectory pdir) { - HASH_SEQ_STATUS status; + HASH_SEQ_STATUS status; PartitionDirectoryEntry *pde; hash_seq_init(&status, pdir->pdir_hash); |