Re: Most-common value docs in PG 12
От | Bruce Momjian |
---|---|
Тема | Re: Most-common value docs in PG 12 |
Дата | |
Msg-id | 20190830232804.GA10645@momjian.us обсуждение исходный текст |
Ответ на | Re: Most-common value docs in PG 12 (Tomas Vondra <tomas.vondra@2ndquadrant.com>) |
Ответы |
Re: Most-common value docs in PG 12
|
Список | 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 +
Вложения
В списке pgsql-docs по дате отправления: