Possible Documentation Update for ALTER STATISTICS - Mailing list pgsql-hackers

From Ahmet Gedemenli
Subject Possible Documentation Update for ALTER STATISTICS
Date
Msg-id VI1PR83MB038288D1E9953EC810E7A33DC08D9@VI1PR83MB0382.EURPRD83.prod.outlook.com
Whole thread Raw
Responses Re: Possible Documentation Update for ALTER STATISTICS
List 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. 
(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

pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: [PATCH] rename column if exists
Next
From: "Hamlin, Garick L"
Date:
Subject: Re: pg14 psql broke \d datname.nspname.relname