aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/heap/heapam.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-11-05 17:46:40 +0000
committerBruce Momjian <bruce@momjian.us>2001-11-05 17:46:40 +0000
commitea08e6cd5542cb269ecd3e735f1dfa3bb61fbc4f (patch)
treebf6b60c08be3ddf5a40e110e8276dc2d45b1431c /src/backend/access/heap/heapam.c
parent34153b205265e2e831c1e3ee02be0fc88fa41710 (diff)
downloadpostgresql-ea08e6cd5542cb269ecd3e735f1dfa3bb61fbc4f.tar.gz
postgresql-ea08e6cd5542cb269ecd3e735f1dfa3bb61fbc4f.zip
New pgindent run with fixes suggested by Tom. Patch manually reviewed,
initdb/regression tests pass.
Diffstat (limited to 'src/backend/access/heap/heapam.c')
-rw-r--r--src/backend/access/heap/heapam.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c
index bf7798a07dc..5073a2e1900 100644
--- a/src/backend/access/heap/heapam.c
+++ b/src/backend/access/heap/heapam.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.127 2001/11/02 16:30:29 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.128 2001/11/05 17:46:23 momjian Exp $
*
*
* INTERFACE ROUTINES
@@ -156,7 +156,7 @@ heapgettup(Relation relation,
elog(DEBUG, "heapgettup: relation(%c)=`%s', %p",
relation->rd_rel->relkind, RelationGetRelationName(relation),
snapshot);
-#endif /* !defined(HEAPDEBUGALL) */
+#endif /* !defined(HEAPDEBUGALL) */
if (!ItemPointerIsValid(tid))
{
@@ -433,7 +433,7 @@ fastgetattr(HeapTuple tup, int attnum, TupleDesc tupleDesc,
)
);
}
-#endif /* defined(DISABLE_COMPLEX_MACRO) */
+#endif /* defined(DISABLE_COMPLEX_MACRO) */
/* ----------------------------------------------------------------
@@ -501,12 +501,12 @@ relation_openr(const char *relationName, LOCKMODE lockmode)
/*
* Check for shared-cache-inval messages before trying to open the
- * relation. This is needed to cover the case where the name identifies
- * a rel that has been dropped and recreated since the start of our
- * transaction: if we don't flush the old relcache entry then we'll
- * latch onto that entry and suffer an error when we do LockRelation.
- * Note that relation_open does not need to do this, since a relation's
- * OID never changes.
+ * relation. This is needed to cover the case where the name
+ * identifies a rel that has been dropped and recreated since the
+ * start of our transaction: if we don't flush the old relcache entry
+ * then we'll latch onto that entry and suffer an error when we do
+ * LockRelation. Note that relation_open does not need to do this,
+ * since a relation's OID never changes.
*
* We skip this if asked for NoLock, on the assumption that the caller
* has already ensured some appropriate lock is held.
@@ -757,7 +757,7 @@ elog(DEBUG, "heap_getnext([%s,nkeys=%d],backw=%d) called", \
#define HEAPDEBUG_1
#define HEAPDEBUG_2
#define HEAPDEBUG_3
-#endif /* !defined(HEAPDEBUGALL) */
+#endif /* !defined(HEAPDEBUGALL) */
HeapTuple