mirror of
https://github.com/postgres/postgres.git
synced 2025-11-28 11:44:57 +03:00
pgindent run for 9.4
This includes removing tabs after periods in C comments, which was applied to back branches, so this change should not effect backpatching.
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
*
|
||||
* At the end of a scan, the AM's endscan routine undoes the locking,
|
||||
* but does *not* call IndexScanEnd --- the higher-level index_endscan
|
||||
* routine does that. (We can't do it in the AM because index_endscan
|
||||
* routine does that. (We can't do it in the AM because index_endscan
|
||||
* still needs to touch the IndexScanDesc after calling the AM.)
|
||||
*
|
||||
* Because of this, the AM does not have a choice whether to call
|
||||
@@ -79,7 +79,7 @@ RelationGetIndexScan(Relation indexRelation, int nkeys, int norderbys)
|
||||
|
||||
scan->heapRelation = NULL; /* may be set later */
|
||||
scan->indexRelation = indexRelation;
|
||||
scan->xs_snapshot = InvalidSnapshot; /* caller must initialize this */
|
||||
scan->xs_snapshot = InvalidSnapshot; /* caller must initialize this */
|
||||
scan->numberOfKeys = nkeys;
|
||||
scan->numberOfOrderBys = norderbys;
|
||||
|
||||
@@ -188,7 +188,7 @@ BuildIndexValueDescription(Relation indexRelation,
|
||||
* at rd_opcintype not the index tupdesc.
|
||||
*
|
||||
* Note: this is a bit shaky for opclasses that have pseudotype
|
||||
* input types such as ANYARRAY or RECORD. Currently, the
|
||||
* input types such as ANYARRAY or RECORD. Currently, the
|
||||
* typoutput functions associated with the pseudotypes will work
|
||||
* okay, but we might have to try harder in future.
|
||||
*/
|
||||
@@ -269,7 +269,7 @@ systable_beginscan(Relation heapRelation,
|
||||
|
||||
if (snapshot == NULL)
|
||||
{
|
||||
Oid relid = RelationGetRelid(heapRelation);
|
||||
Oid relid = RelationGetRelid(heapRelation);
|
||||
|
||||
snapshot = RegisterSnapshot(GetCatalogSnapshot(relid));
|
||||
sysscan->snapshot = snapshot;
|
||||
@@ -442,7 +442,7 @@ systable_endscan(SysScanDesc sysscan)
|
||||
* index order. Also, for largely historical reasons, the index to use
|
||||
* is opened and locked by the caller, not here.
|
||||
*
|
||||
* Currently we do not support non-index-based scans here. (In principle
|
||||
* Currently we do not support non-index-based scans here. (In principle
|
||||
* we could do a heapscan and sort, but the uses are in places that
|
||||
* probably don't need to still work with corrupted catalog indexes.)
|
||||
* For the moment, therefore, these functions are merely the thinnest of
|
||||
@@ -475,7 +475,7 @@ systable_beginscan_ordered(Relation heapRelation,
|
||||
|
||||
if (snapshot == NULL)
|
||||
{
|
||||
Oid relid = RelationGetRelid(heapRelation);
|
||||
Oid relid = RelationGetRelid(heapRelation);
|
||||
|
||||
snapshot = RegisterSnapshot(GetCatalogSnapshot(relid));
|
||||
sysscan->snapshot = snapshot;
|
||||
|
||||
Reference in New Issue
Block a user