Re: should check interrupts in BuildRelationExtStatistics ?
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Justin Pryzby <pryzby@telsasoft.com>,
Michael Paquier <michael@paquier.xyz>,
Robert Haas <robertmhaas@gmail.com>,
Tomas Vondra <tomas.vondra@enterprisedb.com>,
pgsql-hackers@postgresql.org
Date: 2022-07-05T23:38:55Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.de> writes: > I'm worried about this. Interrupting random qsorts all over seems like it > could end up corrupting state. We do things like qsort in building snapshots > etc. Are we confident that we handle interrupts reliably in all those places? Nope ... see my followup just now. regards, tom lane
Commits
-
Invent qsort_interruptible().
- e64cdab00302 16.0 landed
- af72b0889441 14.5 landed
- 12c99c88442d 15.0 landed