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

Commitf2b6ede

Browse files
author
Neil Conway
committed
This trivial patch removes an unused variable. From Alvaro Herrera.
1 parent9a09248 commitf2b6ede

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎src/backend/utils/init/postinit.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* 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 $
1212
*
1313
*
1414
*-------------------------------------------------------------------------
@@ -536,12 +536,10 @@ static bool
536536
ThereIsAtLeastOneUser(void)
537537
{
538538
Relationpg_shadow_rel;
539-
TupleDescpg_shadow_dsc;
540539
HeapScanDescscan;
541540
boolresult;
542541

543542
pg_shadow_rel=heap_open(ShadowRelationId,AccessExclusiveLock);
544-
pg_shadow_dsc=RelationGetDescr(pg_shadow_rel);
545543

546544
scan=heap_beginscan(pg_shadow_rel,SnapshotNow,0,NULL);
547545
result= (heap_getnext(scan,ForwardScanDirection)!=NULL);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp