Determine if FOR UPDATE or FOR SHARE was used?

From: Chapman Flack <chap(at)anastigmatix(dot)net>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Determine if FOR UPDATE or FOR SHARE was used?
Date: 2019-03-18 00:46:40
Message-ID: 5C8EEA70.6040209@anastigmatix.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Given a Portal, or an _SPI_plan, is there a practical way to tell whether
it came from a query with FOR UPDATE or FOR SHARE?

Regards,
-Chap

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tsunakawa, Takayuki 2019-03-18 00:53:12 RE: Timeout parameters
Previous Message Imai, Yoshikazu 2019-03-18 00:25:45 RE: proposal: pg_restore --convert-to-text