The following documentation comment has been logged on the website:
I have a doubt about parallel queries and writing operations.
«Only strictly read-only queries where the driving table is accessed via a
sequential scan can be parallelized»
My question is: If a WITH clause contains only read operations, but its
results is used to feed a writing operation, like an insert or update, it is
not allowed to parallelize sequential scans?
WITH foobarbaz AS (
SELECT foo FROM bar
DELETE FROM bar
WHERE bar.foo = foobarbaz.foo
Is that foobarbaz calculation expected to be parallelized or it is
disallowed because of the delete sentence?
Thanks in advance.
Sent via pgsql-docs mailing list (firstname.lastname@example.org)
To make changes to your subscription: