Re: Emptying oauth_validator_libraries doesn't stop OAuth logins

From: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
To: Alexander Lakhin <exclusion(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, Daniel Gustafsson <daniel(at)yesql(dot)se>, shihao zhong <zhong950419(at)gmail(dot)com>, Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com>
Subject: Re: Emptying oauth_validator_libraries doesn't stop OAuth logins
Date: 2026-11-08 10:49:39
Message-ID: CAN4CZFPZ81xRkaJgFDkhn2ZmBU4PxrUbSvhnzaGdxhjtSpx=sw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Could you please look if the test can be made more resilient against such slowdowns?

Attached a single line change that resets the timer for each query for
the background connection. I don't see anything wrong with the tests
otherwise, the problem is simply that we are using a single background
connection for a long time, and on a heavily overloaded machine with
asan, the test can sometimes exceed the timeout value.

Attachment Content-Type Size
v1-0001-oauth-Apply-bgconn-timeout-per-query-in-001_serve.patch text/x-patch 1.5 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Zhijie Hou 2026-11-08 11:06:46 Re: Table synchronization cannot resume after a subscriber crash
Previous Message Alexander Lakhin 2026-11-08 10:00:00 Re: Emptying oauth_validator_libraries doesn't stop OAuth logins