Re: preserving statistics settings

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: nconway(at)klamath(dot)dyndns(dot)org (Neil Conway)
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: preserving statistics settings
Date: 2002-07-19 21:20:25
Message-ID: 15428.1027113625@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

nconway(at)klamath(dot)dyndns(dot)org (Neil Conway) writes:
> On Fri, Jul 19, 2002 at 01:28:29PM -0400, Tom Lane wrote:
>> Not sure why I didn't think of this before, but we could make the stored
>> value of attstattarget be "-1" to indicate "use the default". Zero or a
>> positive value then indicates an explicit selection. We can't
>> retroactively fix 7.2, but going forward we'd have a reasonable answer.

> Sounds good to me. I can implement this, unless you'd rather do it.

Go for it. Note you should be able to remove genbki.sh's knowledge of
DEFAULT_ATTSTATTARGET, as well as all the occurrences of that symbol
in include/catalog/*.h. Offhand I guess only analyze.c should refer
to that symbol once it's done right.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tony Reina 2002-07-19 21:33:08 Inheritance a burden?
Previous Message Neil Conway 2002-07-19 21:05:40 Re: preserving statistics settings