From: | neilc(at)svr1(dot)postgresql(dot)org (Neil Conway) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: This patch refactors away some duplicated code in the index AM |
Date: | 2005-05-11 06:24:55 |
Message-ID: | 20050511062455.7980E52960@svr1.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Log Message:
-----------
This patch refactors away some duplicated code in the index AM build
methods: they all invoke UpdateStats() since they have computed the
number of heap tuples, so I created a function in catalog/index.c that
each AM now calls.
Modified Files:
--------------
pgsql/src/backend/access/gist:
gist.c (r1.113 -> r1.114)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/gist/gist.c.diff?r1=1.113&r2=1.114)
pgsql/src/backend/access/hash:
hash.c (r1.78 -> r1.79)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/hash/hash.c.diff?r1=1.78&r2=1.79)
pgsql/src/backend/access/nbtree:
nbtree.c (r1.129 -> r1.130)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/nbtree/nbtree.c.diff?r1=1.129&r2=1.130)
pgsql/src/backend/access/rtree:
rtree.c (r1.88 -> r1.89)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/rtree/rtree.c.diff?r1=1.88&r2=1.89)
pgsql/src/backend/catalog:
index.c (r1.254 -> r1.255)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/index.c.diff?r1=1.254&r2=1.255)
pgsql/src/include/catalog:
index.h (r1.62 -> r1.63)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/index.h.diff?r1=1.62&r2=1.63)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2005-05-11 13:36:14 | pgsql: Add mention that not all functions are listed. |
Previous Message | Bruce Momjian | 2005-05-11 02:13:22 | pgsql: Backpatch new Chinese FAQ to 8.0.X. |