Re: PostgreSQL 12.4 Parallel Query doesn't work while EXPLAIN is OK

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: mobigroup <pechnikov(at)mobigroup(dot)ru>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: PostgreSQL 12.4 Parallel Query doesn't work while EXPLAIN is OK
Date: 2020-12-01 14:58:07
Message-ID: 1393711.1606834687@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

mobigroup <pechnikov(at)mobigroup(dot)ru> writes:
>> Perhaps you didn't define it as PARALLEL SAFE.

> The function is marked as "PARALLEL RESTRICTED” because it’s uses temp tables (and I tested it as PARALLEL SAFE with the same result… parallelisation doesn’t work anyway).

If it writes into temp tables then it can't be run in a worker anyway.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Zwettler Markus (OIZ) 2020-12-01 15:04:46 FDW using remote ODBC driver
Previous Message Adrian Klaver 2020-12-01 14:32:11 Re: error on connecting port 5432