pgsql: Refactor ExecGetJunkAttribute to avoid searching for junk

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Refactor ExecGetJunkAttribute to avoid searching for junk
Date: 2006-12-04 02:06:55
Message-ID: 20061204020655.CB09E9F9F8D@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Refactor ExecGetJunkAttribute to avoid searching for junk attributes
by name on each and every row processed. Profiling suggests this may
buy a percent or two for simple UPDATE scenarios, which isn't huge,
but when it's so easy to get ...

Modified Files:
--------------
pgsql/src/backend/executor:
execJunk.c (r1.54 -> r1.55)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/execJunk.c.diff?r1=1.54&r2=1.55)
execMain.c (r1.280 -> r1.281)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/execMain.c.diff?r1=1.280&r2=1.281)
pgsql/src/include/executor:
executor.h (r1.130 -> r1.131)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/executor/executor.h.diff?r1=1.130&r2=1.131)
pgsql/src/include/nodes:
execnodes.h (r1.161 -> r1.162)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/nodes/execnodes.h.diff?r1=1.161&r2=1.162)

Browse pgsql-committers by date

  From Date Subject
Next Message User Doudou586 2006-12-04 02:08:58 press - pr: fixed encoding to UTF-8
Previous Message User Shigehiro 2006-12-04 01:43:35 press - pr: fix a typo.