Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit651902d

Browse files
committed
Re-run pgindent.
This is just to have a clean base state for testing of Piotr Stefaniak'slatest version of FreeBSD indent. I fixed up a couple of places wherepgindent would have changed format not-nicely. perltidy not included.Discussion:https://postgr.es/m/VI1PR03MB119959F4B65F000CA7CD9F6BF2CC0@VI1PR03MB1199.eurprd03.prod.outlook.com
1 parent096f1cc commit651902d

File tree

24 files changed

+113
-99
lines changed

24 files changed

+113
-99
lines changed

‎src/backend/access/brin/brin_pageops.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ brin_doinsert(Relation idxrel, BlockNumber pagesPerRange,
356356
ereport(ERROR,
357357
(errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
358358
errmsg("index row size %zu exceeds maximum %zu for index \"%s\"",
359-
itemsz,BrinMaxItemSize,RelationGetRelationName(idxrel))));
359+
itemsz,BrinMaxItemSize,RelationGetRelationName(idxrel))));
360360
returnInvalidOffsetNumber;/* keep compiler quiet */
361361
}
362362

‎src/backend/access/brin/brin_validate.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,8 @@ brinvalidate(Oid opclassoid)
265265
continue;/* got it */
266266
ereport(INFO,
267267
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
268-
errmsg("operator class \"%s\" of access method %s is missing support function %d",
269-
opclassname,"brin",i)));
268+
errmsg("operator class \"%s\" of access method %s is missing support function %d",
269+
opclassname,"brin",i)));
270270
result= false;
271271
}
272272

‎src/backend/access/gin/ginvalidate.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,8 @@ ginvalidate(Oid opclassoid)
244244
continue;/* don't need both, see check below loop */
245245
ereport(INFO,
246246
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
247-
errmsg("operator class \"%s\" of access method %s is missing support function %d",
248-
opclassname,"gin",i)));
247+
errmsg("operator class \"%s\" of access method %s is missing support function %d",
248+
opclassname,"gin",i)));
249249
result= false;
250250
}
251251
if (!opclassgroup||

‎src/backend/access/gist/gistvalidate.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,8 @@ gistvalidate(Oid opclassoid)
262262
continue;/* optional methods */
263263
ereport(INFO,
264264
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
265-
errmsg("operator class \"%s\" of access method %s is missing support function %d",
266-
opclassname,"gist",i)));
265+
errmsg("operator class \"%s\" of access method %s is missing support function %d",
266+
opclassname,"gist",i)));
267267
result= false;
268268
}
269269

‎src/backend/catalog/index.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3463,7 +3463,7 @@ reindex_index(Oid indexId, bool skip_constraint_checks, char persistence,
34633463
(errmsg("index \"%s\" was reindexed",
34643464
get_rel_name(indexId)),
34653465
errdetail_internal("%s",
3466-
pg_rusage_show(&ru0))));
3466+
pg_rusage_show(&ru0))));
34673467

34683468
/* Close rels, but keep locks */
34693469
index_close(iRel,NoLock);

‎src/backend/commands/copy.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2648,8 +2648,8 @@ CopyFrom(CopyState cstate)
26482648
* tuple such that the partition constraint is no longer
26492649
* satisfied, so we need to check in that case.
26502650
*/
2651-
boolcheck_partition_constr=
2652-
(resultRelInfo->ri_PartitionCheck!=NIL);
2651+
boolcheck_partition_constr=
2652+
(resultRelInfo->ri_PartitionCheck!=NIL);
26532653

26542654
if (saved_resultRelInfo!=NULL&&
26552655
!(resultRelInfo->ri_TrigDesc&&

‎src/backend/commands/vacuumlazy.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1827,7 +1827,7 @@ lazy_truncate_heap(Relation onerel, LVRelStats *vacrelstats)
18271827
RelationGetRelationName(onerel),
18281828
old_rel_pages,new_rel_pages),
18291829
errdetail_internal("%s",
1830-
pg_rusage_show(&ru0))));
1830+
pg_rusage_show(&ru0))));
18311831
old_rel_pages=new_rel_pages;
18321832
}while (new_rel_pages>vacrelstats->nonempty_pages&&
18331833
vacrelstats->lock_waiter_detected);

‎src/backend/commands/variable.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ assign_client_encoding(const char *newval, void *extra)
773773
*/
774774
ereport(ERROR,
775775
(errcode(ERRCODE_INVALID_TRANSACTION_STATE),
776-
errmsg("cannot change client_encoding during a parallel operation")));
776+
errmsg("cannot change client_encoding during a parallel operation")));
777777
}
778778

779779
/* We do not expect an error if PrepareClientEncoding succeeded */

‎src/backend/executor/execMain.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ static char *ExecBuildSlotPartitionKeyDescription(Relation rel,
104104
staticvoidEvalPlanQualStart(EPQState*epqstate,EState*parentestate,
105105
Plan*planTree);
106106
staticvoidExecPartitionCheck(ResultRelInfo*resultRelInfo,
107-
TupleTableSlot*slot,EState*estate);
107+
TupleTableSlot*slot,EState*estate);
108108

109109
/*
110110
* Note that GetUpdatedColumns() also exists in commands/trigger.c. There does
@@ -1347,8 +1347,8 @@ InitResultRelInfo(ResultRelInfo *resultRelInfo,
13471347
* partition, if there any BR triggers defined on the table. Although
13481348
* tuple-routing implicitly preserves the partition constraint of the
13491349
* target partition for a given row, the BR triggers may change the row
1350-
* such that the constraint is no longer satisfied, which we must fail
1351-
*forby checking it explicitly.
1350+
* such that the constraint is no longer satisfied, which we must fail for
1351+
* by checking it explicitly.
13521352
*
13531353
* If this is a partitioned table, the partition constraint (if any) of a
13541354
* given row will be checked just before performing tuple-routing.

‎src/backend/executor/nodeModifyTable.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,8 +421,8 @@ ExecInsert(ModifyTableState *mtstate,
421421
* trigger might modify the tuple such that the partition constraint
422422
* is no longer satisfied, so we need to check in that case.
423423
*/
424-
boolcheck_partition_constr=
425-
(resultRelInfo->ri_PartitionCheck!=NIL);
424+
boolcheck_partition_constr=
425+
(resultRelInfo->ri_PartitionCheck!=NIL);
426426

427427
/*
428428
* Constraints might reference the tableoid column, so initialize

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp