diff options
| author | Bruce Momjian | 2003-08-08 21:42:59 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2003-08-08 21:42:59 +0000 |
| commit | 46785776c42143af8f5433bb580ff13f2a9f65e1 (patch) | |
| tree | 0c1f6da64634a202ff20176865b4a9dc69b8ac40 /src/backend/access | |
| parent | 0e2b12bd9689ac4fd353f7dba33dd796d0e3a07d (diff) | |
Another pgindent run with updated typedefs.
Diffstat (limited to 'src/backend/access')
| -rw-r--r-- | src/backend/access/index/indexam.c | 4 | ||||
| -rw-r--r-- | src/backend/access/nbtree/nbtpage.c | 11 | ||||
| -rw-r--r-- | src/backend/access/nbtree/nbtsearch.c | 8 | ||||
| -rw-r--r-- | src/backend/access/nbtree/nbtxlog.c | 4 | ||||
| -rw-r--r-- | src/backend/access/transam/slru.c | 8 | ||||
| -rw-r--r-- | src/backend/access/transam/xact.c | 8 |
6 files changed, 21 insertions, 22 deletions
diff --git a/src/backend/access/index/indexam.c b/src/backend/access/index/indexam.c index 69470e33a62..fb88535f0e0 100644 --- a/src/backend/access/index/indexam.c +++ b/src/backend/access/index/indexam.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.69 2003/08/04 02:39:57 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.70 2003/08/08 21:41:25 momjian Exp $ * * INTERFACE ROUTINES * index_open - open an index relation by relation OID @@ -632,7 +632,7 @@ index_bulk_delete(Relation indexRelation, */ IndexBulkDeleteResult * index_vacuum_cleanup(Relation indexRelation, - IndexVacuumCleanupInfo * info, + IndexVacuumCleanupInfo *info, IndexBulkDeleteResult *stats) { RegProcedure procedure; diff --git a/src/backend/access/nbtree/nbtpage.c b/src/backend/access/nbtree/nbtpage.c index 21a4121f406..b0aff28a596 100644 --- a/src/backend/access/nbtree/nbtpage.c +++ b/src/backend/access/nbtree/nbtpage.c @@ -9,7 +9,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtpage.c,v 1.68 2003/08/04 02:39:57 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtpage.c,v 1.69 2003/08/08 21:41:27 momjian Exp $ * * NOTES * Postgres btree pages look like ordinary relation pages. The opaque @@ -1110,11 +1110,10 @@ _bt_pagedel(Relation rel, Buffer buf, bool vacuum_full) _bt_wrtbuf(rel, lbuf); /* - * If parent became half dead, recurse to try to delete it. - * Otherwise, if right sibling is empty and is now the last child of - * the parent, recurse to try to delete it. (These cases cannot apply - * at the same time, though the second case might itself recurse to - * the first.) + * If parent became half dead, recurse to try to delete it. Otherwise, + * if right sibling is empty and is now the last child of the parent, + * recurse to try to delete it. (These cases cannot apply at the same + * time, though the second case might itself recurse to the first.) */ if (parent_half_dead) { diff --git a/src/backend/access/nbtree/nbtsearch.c b/src/backend/access/nbtree/nbtsearch.c index 2dcf9b0e1af..d27af61c5cd 100644 --- a/src/backend/access/nbtree/nbtsearch.c +++ b/src/backend/access/nbtree/nbtsearch.c @@ -8,7 +8,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsearch.c,v 1.79 2003/08/04 02:39:57 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsearch.c,v 1.80 2003/08/08 21:41:27 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -951,9 +951,9 @@ _bt_walk_left(Relation rel, Buffer buf) /* * If this isn't the page we want, walk right till we find what we - * want --- but go no more than four hops (an arbitrary limit). - * If we don't find the correct page by then, the most likely bet - * is that the original page got deleted and isn't in the sibling + * want --- but go no more than four hops (an arbitrary limit). If + * we don't find the correct page by then, the most likely bet is + * that the original page got deleted and isn't in the sibling * chain at all anymore, not that its left sibling got split more * than four times. * diff --git a/src/backend/access/nbtree/nbtxlog.c b/src/backend/access/nbtree/nbtxlog.c index b7b22477e86..4fecd3116af 100644 --- a/src/backend/access/nbtree/nbtxlog.c +++ b/src/backend/access/nbtree/nbtxlog.c @@ -8,7 +8,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtxlog.c,v 1.5 2003/08/04 02:39:57 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtxlog.c,v 1.6 2003/08/08 21:41:27 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -32,7 +32,7 @@ typedef struct bt_incomplete_split BlockNumber leftblk; /* left half of split */ BlockNumber rightblk; /* right half of split */ bool is_root; /* we split the root */ -} bt_incomplete_split; +} bt_incomplete_split; static List *incomplete_splits; diff --git a/src/backend/access/transam/slru.c b/src/backend/access/transam/slru.c index 95e13e72fdd..3f0d387d447 100644 --- a/src/backend/access/transam/slru.c +++ b/src/backend/access/transam/slru.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Header: /cvsroot/pgsql/src/backend/access/transam/slru.c,v 1.5 2003/08/08 14:39:45 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/transam/slru.c,v 1.6 2003/08/08 21:41:27 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -93,7 +93,7 @@ typedef enum SLRU_PAGE_CLEAN, /* page is valid and not dirty */ SLRU_PAGE_DIRTY, /* page is valid but needs write */ SLRU_PAGE_WRITE_IN_PROGRESS /* page is being written out */ -} SlruPageStatus; +} SlruPageStatus; /* * Shared-memory state @@ -117,7 +117,7 @@ typedef struct SlruSharedData * swapping out the latest page. */ int latest_page_number; -} SlruSharedData; +} SlruSharedData; typedef SlruSharedData *SlruShared; @@ -145,7 +145,7 @@ typedef enum SLRU_SEEK_FAILED, SLRU_READ_FAILED, SLRU_WRITE_FAILED -} SlruErrorCause; +} SlruErrorCause; static SlruErrorCause slru_errcause; static int slru_errno; diff --git a/src/backend/access/transam/xact.c b/src/backend/access/transam/xact.c index a85337100b7..e632ae9e1f4 100644 --- a/src/backend/access/transam/xact.c +++ b/src/backend/access/transam/xact.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.151 2003/08/04 02:39:57 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.152 2003/08/08 21:41:28 momjian Exp $ * * NOTES * Transaction aborts can now occur two ways: @@ -954,9 +954,9 @@ CommitTransaction(void) * * The ordering of operations is not entirely random. The idea is: * release resources visible to other backends (eg, files, buffer - * pins); then release locks; then release backend-local resources. - * We want to release locks at the point where any backend waiting for - * us will see our transaction as being fully cleaned up. + * pins); then release locks; then release backend-local resources. We + * want to release locks at the point where any backend waiting for us + * will see our transaction as being fully cleaned up. */ smgrDoPendingDeletes(true); |
