Re: Default fill factor for tables? - Mailing list pgsql-general

From Scott Marlowe
Subject Re: Default fill factor for tables?
Date
Msg-id dcc563d10807111152u374e03cfu9ad1bd817fb0107f@mail.gmail.com
Whole thread Raw
In response to Re: Default fill factor for tables?  ("Richard Broersma" <richard.broersma@gmail.com>)
Responses Re: Default fill factor for tables?
Re: Default fill factor for tables?
List pgsql-general
On Fri, Jul 11, 2008 at 12:12 PM, Richard Broersma
<richard.broersma@gmail.com> wrote:
> On Fri, Jul 11, 2008 at 10:27 AM, Scott Marlowe <scott.marlowe@gmail.com> wrote:
>
>> Is there any way to set a different default fill factor?
>
> ALTER TABLE Yourtable
>        SET ( FILLFACTOR = 50 );

Hehe.  I know how to do that. I mean the default fill factor for a
database / user for tables / indexes..  Like setting search_path for a
user.

alter database mydb set indexfillfactor=50;
alter user me set tablefillfactor=75;

so that newly created indexes in the db mydb have fillfactor of 50 and
tables created by me are at 75.

pgsql-general by date:

Previous
From: Michael Enke
Date:
Subject: Re: PG_MODULE_MAGIC lost if strip the object file
Next
From: "Adam Rich"
Date:
Subject: Re: Complicated GROUP BY