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

Commit9de97c5

Browse files
author
Neil Conway
committed
Trivial code clarity improvement to UpdateStats(); no functional change.
1 parent368739d commit9de97c5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/backend/catalog/index.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/catalog/index.c,v 1.256 2005/05/19 21:35:45 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/catalog/index.c,v 1.257 2005/06/20 02:07:47 neilc Exp $
1212
*
1313
*
1414
* INTERFACE ROUTINES
@@ -1293,10 +1293,10 @@ UpdateStats(Oid relid, double reltuples)
12931293
}
12941294
}
12951295

1296-
if (!pg_class_scan)
1297-
heap_freetuple(tuple);
1298-
else
1296+
if (in_place_upd)
12991297
heap_endscan(pg_class_scan);
1298+
else
1299+
heap_freetuple(tuple);
13001300

13011301
/*
13021302
* We shouldn't have to do this, but we do... Modify the reldesc in

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp