From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Jeff Janes <jeff.janes@gmail.com>
Cc: pgsql-docs@postgresql.org, Bill Martin <bill.martin@communote.com>
Subject: Re: [PERFORM] Planner selects different execution plans depending on limit
Date: Wed, 26 Sep 2012 11:52:12 -0400
Message-ID: <20120926155212.GC11785@momjian.us> (raw)
In-Reply-To: <28910.1347833815@sss.pgh.pa.us>
References: <D48BF41C96B16442B542F5E25C259047011E80F02A@COM211.communardo.local>
<5051F227.7090600@krogh.cc>
<26906.1347548059@sss.pgh.pa.us>
<D48BF41C96B16442B542F5E25C259047011E811299@COM211.communardo.local>
<16905.1347557599@sss.pgh.pa.us>
<CAMkU=1xjEXM8PnZaS0bbKVYKhL-j7Ra_WK1hRk2Zv3zsa5xWwA@mail.gmail.com>
<28910.1347833815@sss.pgh.pa.us>
On Sun, Sep 16, 2012 at 06:16:55PM -0400, Tom Lane wrote:
> Jeff Janes <jeff.janes@gmail.com> writes:
> > On Thu, Sep 13, 2012 at 10:33 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> >> Just pretend it's a table.
> >> ALTER TABLE index_name ALTER COLUMN column_name SET STATISTICS ...
> >>
> >> You'll need to look at the index (eg with \d) to see what the name of
> >> the desired column is, since index expressions have system-assigned
> >> column names.
>
> > Is this documented anywhere? I couldn't find it. If not, which
> > section would be the best one to add it to?
>
> It's not documented, mainly because it hasn't reached the level of being
> a supported feature. I'd like to figure out how to get pg_dump to dump
> such settings before we call it supported. (The stumbling block is
> exactly that index column names aren't set in stone, so it's not clear
> that the ALTER command would do the right thing on dump-and-reload.)
Is this TODO?
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: bruce@momjian.us, tgl@sss.pgh.pa.us, jeff.janes@gmail.com, bill.martin@communote.com
Subject: Re: [PERFORM] Planner selects different execution plans depending on limit
In-Reply-To: <20120926155212.GC11785@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox