pgsql: Slightly correct context check for event triggers

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Slightly correct context check for event triggers
Date: 2018-10-10 20:42:48
Message-ID: E1gALJg-0001tN-2K@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Slightly correct context check for event triggers

The previous check for a "complete query" omitted the new
PROCESS_UTILITY_QUERY_NONATOMIC value. This didn't actually make a
difference in practice, because only CALL and SET from PL/pgSQL run in
this state, but it's more correct to include it anyway.

Discussion: https://www.postgresql.org/message-id/4566041d-2567-74d2-d135-19ff6a20fe51%402ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f82d4d666ff501382b92dfd80eaf1d459e6e84a3

Modified Files
--------------
src/backend/tcop/utility.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2018-10-10 20:56:27 pgsql: Fix logical decoding error when system table w/ toast is repeate
Previous Message pgsql 2018-10-09 22:05:23 pgsql: Tag refs/tags/REL_11_RC1 was created