Re: WITH clause in CREATE STATISTICS

From: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: WITH clause in CREATE STATISTICS
Date: 2017-04-22 10:39:32
Message-ID: CAKJS1f9FCZrHMf-0Myf3Yk83Qh7XDzwDX-g2MDD1Oz6vLux6rw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 22 April 2017 at 21:30, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:
> CREATE STATISTICS s1 USING (dependencies, ndistinct) ON (a, b) FROM t1
> WHERE partial-stuff;

+1

Seems much more CREATE INDEX like, and that's pretty good given that
most of the complaints so far were about it bearing enough resemblance
to CREATE INDEX

--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2017-04-22 13:54:11 Re: [COMMITTERS] pgsql: Replication lag tracking for walsenders
Previous Message Pavel Stehule 2017-04-22 10:29:54 Re: WITH clause in CREATE STATISTICS