Skip site navigation (1) Skip section navigation (2)

pgsql-server/src/backend/utils/adt selfuncs.c

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src/backend/utils/adt selfuncs.c
Date: 2004-01-17 20:09:35
Message-ID: 20040117200935.8810DD1DD00@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
CVSROOT:	/cvsroot
Module name:	pgsql-server
Changes by:	tgl(at)svr1(dot)postgresql(dot)org	04/01/17 16:09:35

Modified files:
	src/backend/utils/adt: selfuncs.c 

Log message:
	Repair misestimation of indexscan CPU costs.  When an indexqual contains
	a run-time key (that is, a nonconstant expression compared to the index
	variable), the key is evaluated just once per scan, but we were charging
	costs as though it were evaluated once per visited index entry.


pgsql-committers by date

Next:From: Tom LaneDate: 2004-01-18 00:31:53
Subject: pgsql-server/src/backend/optimizer/plan Tag: R ...
Previous:From: Tom LaneDate: 2004-01-16 20:51:30
Subject: pgsql-server/src backend/access/common/heaptup ...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group