Re: Most-common value docs in PG 12 - Mailing list pgsql-docs

From Bruce Momjian
Subject Re: Most-common value docs in PG 12
Date
Msg-id 20190830232804.GA10645@momjian.us
Whole thread Raw
In response to Re: Most-common value docs in PG 12  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Responses Re: Most-common value docs in PG 12  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-docs
On Wed, Aug 28, 2019 at 08:25:41PM +0200, Tomas Vondra wrote:
> On Wed, Aug 28, 2019 at 12:22:38PM -0400, Bruce Momjian wrote:
> > If this is so, why don't we show the CREATE STATISTICS example as
> > city/state, and not state/city?
> 
> Yes, we deduplicate the attributes and store them sorted by attnum. I'm
> not sure it makes sense to change the example to match this order, which
> is mostly an implementation detail, though. It might be better to point
> out the order may not exactly match CREATE STATISTICS, and point users to
> what e.g. "\d" shows (because that will show the order as stored in the
> system catalog).

OK, how is this patch?  I didn't mention psql since I think everyone
expects psql to show all information about tables and indexes.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +

Attachment

pgsql-docs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Release notes on "reserved OIDs"
Next
From: Bruce Momjian
Date:
Subject: Re: Release notes on "reserved OIDs"