Re: DEFAULT_STATISTICS_TARGET

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "John D(dot) Burger" <john(at)mitre(dot)org>
Cc: PostgreSQL general <pgsql-general(at)postgresql(dot)org>
Subject: Re: DEFAULT_STATISTICS_TARGET
Date: 2006-06-14 22:36:02
Message-ID: 4762.1150324562@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"John D. Burger" <john(at)mitre(dot)org> writes:
> Is there any way to set DEFAULT_STATISTICS_TARGET on a permanent basis
> for a particular database? SET DEFAULT_STATISTICS_TARGET is only per
> session, apparently, and I'm not sure I want to set it for the whole
> cluster in the config file. I know I can fix it per-column with ALTER
> TABLE, but that's a bit of a pain.
> I'm running 7.4. Thanks for any info.

ALTER DATABASE SET, same as most other GUC variables ...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John D. Burger 2006-06-14 22:40:59 Re: DEFAULT_STATISTICS_TARGET
Previous Message Chris Browne 2006-06-14 22:34:08 Re: Fabian Pascal and RDBMS deficiencies in fully implementing