| From: | Simon Riggs <simon(at)2ndquadrant(dot)com> |
|---|---|
| To: | ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: fillfactor using WITH syntax |
| Date: | 2006-06-06 11:10:45 |
| Message-ID: | 1149592245.2621.414.camel@localhost.localdomain |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches |
On Tue, 2006-06-06 at 11:45 +0900, ITAGAKI Takahiro wrote:
> Hi Hackers,
>
> I'm rewriting fillfactor patch, per the following discussion,
> http://archives.postgresql.org/pgsql-hackers/2006-03/msg00287.php
> Now fillfactor can be set using WITH syntax:
> - CREATE INDEX index ON table USING btree (columns) WITH (...)
> - CREATE TABLE table (i integer PRIMARY KEY WITH (...))
> - ALTER TABLE table ADD PRIMARY KEY (columns) WITH (...)
Sounds good.
This is important in other situations too, e.g.
http://archives.postgresql.org/pgsql-hackers/2005-09/msg00851.php
> The settings are stored on pg_class.relfillfactor and the last value will
> be used on next REINDEX. WITH parameter is a list of DefElems, so we can
> use it to pass additional parameters to index access methods.
Are you implementing the array of parameters on pg_index as Tom
suggested or pg_class.relfillfactor?
Why not implement an array of option parameters on pg_class, so both
heaps and indexes can be given additional parameters? That way you
wouldn't need a specific relfillfactor attribute. That would allow us to
keep CREATE TABLE free of additional keywords also.
--
Simon Riggs
EnterpriseDB http://www.enterprisedb.com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Simon Riggs | 2006-06-06 11:54:14 | Re: table/index fillfactor control |
| Previous Message | Joachim Wieland | 2006-06-06 10:33:12 | AIX check in datetime.h |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Simon Riggs | 2006-06-06 11:19:54 | Re: 'Index Full Scan' for Index Scan without Index Cond |
| Previous Message | ITAGAKI Takahiro | 2006-06-06 09:51:34 | 'Index Full Scan' for Index Scan without Index Cond |