Re: TRUNCATE VIEW

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: harisai hari <harisai.58@gmail.com>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>, pgsql-docs@lists.postgresql.org
Date: 2021-01-26T00:54:48Z
Lists: pgsql-docs
On Mon, Jan 25, 2021 at 08:53:39PM +0530, harisai hari wrote:
> Thank you!

Yes, this page is wrong to tell that.  There is a second thing that
I find confusing in the docs of TRUNCATE:
https://www.postgresql.org/docs/devel/sql-truncate.html

This does not mention at all partitioned tables, describing only
"descendant tables".  Partitioning is a case of "descendant tables"
but that's a bit confusing IMO and a reader would need to guess that.

Thoughts?
--
Michael

Commits

  1. doc: Remove reference to views for TRUNCATE privilege