File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 8
8
*
9
9
*
10
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/backend/utils/init/postinit.c,v 1.148 2005/06/17 22:32:47 tgl Exp $
11
+ * $PostgreSQL: pgsql/src/backend/utils/init/postinit.c,v 1.149 2005/06/24 01:06:26 neilc Exp $
12
12
*
13
13
*
14
14
*-------------------------------------------------------------------------
@@ -536,12 +536,10 @@ static bool
536
536
ThereIsAtLeastOneUser (void )
537
537
{
538
538
Relation pg_shadow_rel ;
539
- TupleDesc pg_shadow_dsc ;
540
539
HeapScanDesc scan ;
541
540
bool result ;
542
541
543
542
pg_shadow_rel = heap_open (ShadowRelationId , AccessExclusiveLock );
544
- pg_shadow_dsc = RelationGetDescr (pg_shadow_rel );
545
543
546
544
scan = heap_beginscan (pg_shadow_rel , SnapshotNow , 0 , NULL );
547
545
result = (heap_getnext (scan , ForwardScanDirection ) != NULL );
You can’t perform that action at this time.
0 commit comments