Does TRUNCATE emit changes with REPLICA IDENTITY FULL?

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: analytik(at)uglycode(dot)com
Subject: Does TRUNCATE emit changes with REPLICA IDENTITY FULL?
Date: 2019-11-11 09:19:52
Message-ID: 157346399242.14265.3138867514991013615@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/11/sql-truncate.html
Description:

Hi,

The documentation says that TRUNCATE ignores ON DELETE triggers, but it
doesn't explicitly mention what happens if we use `wal_level = logical` and
`REPLICA IDENTITY FULL`. Does TRUNCATE emit changes for each row and clog
the WAL, or will it still be blazing fast?

Kind Regards,,
m.

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Alvaro Herrera 2019-11-11 13:14:29 Re: The word "virgin" used incorrectly and probably better off replaced
Previous Message Brian Williams 2019-11-10 14:01:38 Re: The word "virgin" used incorrectly and probably better off replaced