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

Commit0c2914d

Browse files
author
Neil Conway
committed
Fix a few typos in comments in snapmgr.c, and sort header inclusions
alphabetically.
1 parent7a97abe commit0c2914d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎src/backend/utils/time/snapmgr.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,20 @@
2323
* Portions Copyright (c) 1994, Regents of the University of California
2424
*
2525
* IDENTIFICATION
26-
* $PostgreSQL: pgsql/src/backend/utils/time/snapmgr.c,v 1.2 2008/05/12 20:02:02 alvherre Exp $
26+
* $PostgreSQL: pgsql/src/backend/utils/time/snapmgr.c,v 1.3 2008/07/11 00:00:29 neilc Exp $
2727
*
2828
*-------------------------------------------------------------------------
2929
*/
3030
#include"postgres.h"
3131

32-
#include"access/xact.h"
3332
#include"access/transam.h"
33+
#include"access/xact.h"
3434
#include"storage/proc.h"
3535
#include"storage/procarray.h"
3636
#include"utils/memutils.h"
37+
#include"utils/memutils.h"
3738
#include"utils/snapmgr.h"
3839
#include"utils/tqual.h"
39-
#include"utils/memutils.h"
4040

4141

4242
/*
@@ -70,7 +70,7 @@ TransactionId RecentGlobalXmin = FirstNormalTransactionId;
7070
*
7171
* Note that we keep refcounts both here and in SnapshotData. This is because
7272
* the same snapshot may be registered more than once in a subtransaction, and
73-
* if a subxact aborts we want to be able tosubstract the correct amount of
73+
* if a subxact aborts we want to be able tosubtract the correct amount of
7474
* counts from SnapshotData. (Another approach would be keeping one
7575
* RegdSnapshotElt each time a snapshot is registered, but that seems
7676
* unnecessary wastage.)
@@ -350,7 +350,7 @@ GetActiveSnapshot(void)
350350

351351
/*
352352
* ActiveSnapshotSet
353-
* Return whether there is at least onesnapsho in the Active stack
353+
* Return whether there is at least onesnapshot in the Active stack
354354
*/
355355
bool
356356
ActiveSnapshotSet(void)
@@ -628,7 +628,7 @@ AtEOXact_Snapshot(bool isCommit)
628628
}
629629

630630
/*
631-
* And reset our state. We don't need to free the memoryexplicitely --
631+
* And reset our state. We don't need to free the memoryexplicitly --
632632
* it'll go away with TopTransactionContext.
633633
*/
634634
ActiveSnapshot=NULL;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp