We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a09248 commit f2b6edeCopy full SHA for f2b6ede
src/backend/utils/init/postinit.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/backend/utils/init/postinit.c,v 1.148 2005/06/17 22:32:47 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/init/postinit.c,v 1.149 2005/06/24 01:06:26 neilc Exp $
12
13
14
*-------------------------------------------------------------------------
@@ -536,12 +536,10 @@ static bool
536
ThereIsAtLeastOneUser(void)
537
{
538
Relation pg_shadow_rel;
539
- TupleDesc pg_shadow_dsc;
540
HeapScanDesc scan;
541
bool result;
542
543
pg_shadow_rel = heap_open(ShadowRelationId, AccessExclusiveLock);
544
- pg_shadow_dsc = RelationGetDescr(pg_shadow_rel);
545
546
scan = heap_beginscan(pg_shadow_rel, SnapshotNow, 0, NULL);
547
result = (heap_getnext(scan, ForwardScanDirection) != NULL);
0 commit comments