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

Commitb5bce6c

Browse files
committed
Final pgindent + perltidy run for 9.6.
1 parent05d8dec commitb5bce6c

File tree

26 files changed

+175
-151
lines changed

26 files changed

+175
-151
lines changed

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

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

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

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

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

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

‎src/backend/access/hash/hashvalidate.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,9 @@ hashvalidate(Oid opclassoid)
186186
{
187187
ereport(INFO,
188188
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
189-
errmsg("hash operator family \"%s\" lacks support function for operator %s",
190-
opfamilyname,
191-
format_operator(oprform->amopopr))));
189+
errmsg("hash operator family \"%s\" lacks support function for operator %s",
190+
opfamilyname,
191+
format_operator(oprform->amopopr))));
192192
result= false;
193193
}
194194
}

‎src/backend/access/heap/heapam.c‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4571,7 +4571,7 @@ heap_lock_tuple(Relation relation, HeapTuple tuple,
45714571
ItemIdlp;
45724572
Pagepage;
45734573
Buffervmbuffer=InvalidBuffer;
4574-
BlockNumberblock;
4574+
BlockNumberblock;
45754575
TransactionIdxid,
45764576
xmax;
45774577
uint16old_infomask,
@@ -5643,7 +5643,7 @@ static HTSU_Result
56435643
heap_lock_updated_tuple_rec(Relationrel,ItemPointertid,TransactionIdxid,
56445644
LockTupleModemode)
56455645
{
5646-
HTSU_Resultresult;
5646+
HTSU_Resultresult;
56475647
ItemPointerDatatupid;
56485648
HeapTupleDatamytup;
56495649
Bufferbuf;
@@ -6698,6 +6698,7 @@ heap_prepare_freeze_tuple(HeapTupleHeader tuple, TransactionId cutoff_xid,
66986698
if (tuple->t_infomask&HEAP_MOVED)
66996699
{
67006700
xid=HeapTupleHeaderGetXvac(tuple);
6701+
67016702
/*
67026703
* For Xvac, we ignore the cutoff_xid and just always perform the
67036704
* freeze operation. The oldest release in which such a value can
@@ -8841,9 +8842,9 @@ heap_xlog_lock(XLogReaderState *record)
88418842
*/
88428843
if (xlrec->flags&XLH_LOCK_ALL_FROZEN_CLEARED)
88438844
{
8844-
RelFileNodernode;
8845+
RelFileNodernode;
88458846
Buffervmbuffer=InvalidBuffer;
8846-
BlockNumberblock;
8847+
BlockNumberblock;
88478848
Relationreln;
88488849

88498850
XLogRecGetBlockTag(record,0,&rnode,NULL,&block);
@@ -8914,9 +8915,9 @@ heap_xlog_lock_updated(XLogReaderState *record)
89148915
*/
89158916
if (xlrec->flags&XLH_LOCK_ALL_FROZEN_CLEARED)
89168917
{
8917-
RelFileNodernode;
8918+
RelFileNodernode;
89188919
Buffervmbuffer=InvalidBuffer;
8919-
BlockNumberblock;
8920+
BlockNumberblock;
89208921
Relationreln;
89218922

89228923
XLogRecGetBlockTag(record,0,&rnode,NULL,&block);

‎src/backend/access/heap/tuptoaster.c‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1667,7 +1667,7 @@ toast_delete_datum(Relation rel, Datum value)
16671667
HeapTupletoasttup;
16681668
intnum_indexes;
16691669
intvalidIndex;
1670-
SnapshotDataSnapshotToast;
1670+
SnapshotDataSnapshotToast;
16711671

16721672
if (!VARATT_IS_EXTERNAL_ONDISK(attr))
16731673
return;
@@ -1734,7 +1734,7 @@ toastrel_valueid_exists(Relation toastrel, Oid valueid)
17341734
intnum_indexes;
17351735
intvalidIndex;
17361736
Relation*toastidxs;
1737-
SnapshotDataSnapshotToast;
1737+
SnapshotDataSnapshotToast;
17381738

17391739
/* Fetch a valid index relation */
17401740
validIndex=toast_open_indexes(toastrel,
@@ -1819,7 +1819,7 @@ toast_fetch_datum(struct varlena * attr)
18191819
int32chunksize;
18201820
intnum_indexes;
18211821
intvalidIndex;
1822-
SnapshotDataSnapshotToast;
1822+
SnapshotDataSnapshotToast;
18231823

18241824
if (!VARATT_IS_EXTERNAL_ONDISK(attr))
18251825
elog(ERROR,"toast_fetch_datum shouldn't be called for non-ondisk datums");
@@ -1998,7 +1998,7 @@ toast_fetch_datum_slice(struct varlena * attr, int32 sliceoffset, int32 length)
19981998
int32chcpyend;
19991999
intnum_indexes;
20002000
intvalidIndex;
2001-
SnapshotDataSnapshotToast;
2001+
SnapshotDataSnapshotToast;
20022002

20032003
if (!VARATT_IS_EXTERNAL_ONDISK(attr))
20042004
elog(ERROR,"toast_fetch_datum_slice shouldn't be called for non-ondisk datums");
@@ -2094,7 +2094,7 @@ toast_fetch_datum_slice(struct varlena * attr, int32 sliceoffset, int32 length)
20942094
init_toast_snapshot(&SnapshotToast);
20952095
nextidx=startchunk;
20962096
toastscan=systable_beginscan_ordered(toastrel,toastidxs[validIndex],
2097-
&SnapshotToast,nscankeys,toastkey);
2097+
&SnapshotToast,nscankeys,toastkey);
20982098
while ((ttup=systable_getnext_ordered(toastscan,ForwardScanDirection))!=NULL)
20992099
{
21002100
/*

‎src/backend/commands/variable.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ assign_client_encoding(const char *newval, void *extra)
776776
*/
777777
ereport(ERROR,
778778
(errcode(ERRCODE_INVALID_TRANSACTION_STATE),
779-
errmsg("cannot change client_encoding in a parallel worker")));
779+
errmsg("cannot change client_encoding in a parallel worker")));
780780
}
781781

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

‎src/backend/replication/libpqwalreceiver/libpqwalreceiver.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ libpqrcv_get_conninfo(void)
129129
{
130130
PQconninfoOption*conn_opts;
131131
PQconninfoOption*conn_opt;
132-
PQExpBufferDatabuf;
132+
PQExpBufferDatabuf;
133133
char*retval;
134134

135135
Assert(streamConn!=NULL);
@@ -145,7 +145,7 @@ libpqrcv_get_conninfo(void)
145145
/* build a clean connection string from pieces */
146146
for (conn_opt=conn_opts;conn_opt->keyword!=NULL;conn_opt++)
147147
{
148-
boolobfuscate;
148+
boolobfuscate;
149149

150150
/* Skip debug and empty options */
151151
if (strchr(conn_opt->dispchar,'D')||

‎src/backend/replication/syncrep.c‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,11 @@ SyncRepWaitForLSN(XLogRecPtr lsn, bool commit)
193193
ResetLatch(MyLatch);
194194

195195
/*
196-
* Acquiring the lock is not needed, the latch ensures proper barriers.
197-
* If it looks like we're done, we must really be done, because once
198-
* walsender changes the state to SYNC_REP_WAIT_COMPLETE, it will never
199-
* update it again, so we can't be seeing a stale value in that case.
196+
* Acquiring the lock is not needed, the latch ensures proper
197+
* barriers. If it looks like we're done, we must really be done,
198+
* because once walsender changes the state to SYNC_REP_WAIT_COMPLETE,
199+
* it will never update it again, so we can't be seeing a stale value
200+
* in that case.
200201
*/
201202
if (MyProc->syncRepState==SYNC_REP_WAIT_COMPLETE)
202203
break;

‎src/backend/tsearch/spell.c‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,8 @@ getNextFlagFromString(IspellDict *Conf, char **sflagset, char *sflag)
433433
if (Conf->flagMode==FM_LONG&&maxstep>0)
434434
ereport(ERROR,
435435
(errcode(ERRCODE_CONFIG_FILE_ERROR),
436-
errmsg("invalid affix flag \"%s\" with \"long\" flag value",sbuf)));
436+
errmsg("invalid affix flag \"%s\" with \"long\" flag value",
437+
sbuf)));
437438

438439
*sflag='\0';
439440
}
@@ -1263,8 +1264,9 @@ NIImportOOAffixes(IspellDict *Conf, const char *filename)
12631264
elseif (STRNCMP(s,"default")!=0)
12641265
ereport(ERROR,
12651266
(errcode(ERRCODE_CONFIG_FILE_ERROR),
1266-
errmsg("Ispell dictionary supports only \"default\", "
1267-
"\"long\", and \"num\" flag value")));
1267+
errmsg("Ispell dictionary supports only "
1268+
"\"default\", \"long\", "
1269+
"and \"num\" flag values")));
12681270
}
12691271
}
12701272

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp