Possible Documentation Update for ALTER STATISTICS

From: Ahmet Gedemenli <agedemenli(at)microsoft(dot)com>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Possible Documentation Update for ALTER STATISTICS
Date: 2021-11-04 13:35:43
Message-ID: VI1PR83MB038288D1E9953EC810E7A33DC08D9@VI1PR83MB0382.EURPRD83.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hey,

I've noticed that the current documentation doesn't mention IF EXISTS clause for ALTER STATISTICS in the synopsis section, where PG supports it.
https://www.postgresql.org/docs/14/sql-alterstatistics.html
(Only for the last item, that is ALTER STATISTICS .. SET STATISTICS; for the others, PG just throws a syntax error.)

I'm from the Citus team and noticed this while bug fixing, and I wonder if it is intentional or not. If it's intentionally supported while the other ALTER STATISTICS statement types are not supported, it would be good to mention that in the documentation.

Best,
Ahmet

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hamlin, Garick L 2021-11-04 13:37:08 Re: pg14 psql broke \d datname.nspname.relname
Previous Message David G. Johnston 2021-11-04 13:26:35 Re: [PATCH] rename column if exists