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 368739d commit 9de97c5Copy full SHA for 9de97c5
src/backend/catalog/index.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/backend/catalog/index.c,v 1.256 2005/05/19 21:35:45 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/catalog/index.c,v 1.257 2005/06/20 02:07:47 neilc Exp $
12
13
14
* INTERFACE ROUTINES
@@ -1293,10 +1293,10 @@ UpdateStats(Oid relid, double reltuples)
1293
}
1294
1295
1296
- if (!pg_class_scan)
1297
- heap_freetuple(tuple);
1298
- else
+ if (in_place_upd)
1299
heap_endscan(pg_class_scan);
+ else
+ heap_freetuple(tuple);
1300
1301
/*
1302
* We shouldn't have to do this, but we do... Modify the reldesc in
0 commit comments