pgsql: Remove assertion checking query ID in execMain.c

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove assertion checking query ID in execMain.c
Date: 2024-10-04 03:52:26
Message-ID: E1swZMg-00253p-5d@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove assertion checking query ID in execMain.c

This assertion has been added by 24f520594809, but Alexander Lakhin has
proved that the ExecutorRun() one can be broken by using a PL function
that manipulates compute_query_id and track_activities, while the ones
in ExecutorFinish() and ExecutorEnd() could be triggered when cleaning
up portals at the beginning of a new query execution.

Discussion: https://postgr.es/m/b37d8e6c-e83d-e157-8865-1b2460a6aef2@gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4dd308730029f5d90bd188f181c2dd9d7630ea69

Modified Files
--------------
src/backend/executor/execMain.c | 21 ---------------------
1 file changed, 21 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Dean Rasheed 2024-10-04 08:52:16 pgsql: Speed up numeric division by always using the "fast" algorithm.
Previous Message Dean Rasheed 2024-10-03 12:49:52 pgsql: Fix wrong varnullingrels error for MERGE WHEN NOT MATCHED BY SOU