Re: New Object Access Type hooks
Andrew Dunstan <andrew@dunslane.net>
From: Andrew Dunstan <andrew@dunslane.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Mark Dilger <mark.dilger@enterprisedb.com>,
Julien Rouhaud <rjuju123@gmail.com>,
Joshua Brindle <joshua.brindle@crunchydata.com>,
PostgreSQL-development <pgsql-hackers@postgresql.org>,
Robert Haas <robertmhaas@gmail.com>, Jeff Davis <pgsql@j-davis.com>,
Joe Conway <joe@crunchydata.com>, Stephen Frost <sfrost@snowman.net>
Date: 2022-03-22T17:47:27Z
Lists: pgsql-hackers
On 3/22/22 13:08, Tom Lane wrote: > Andrew Dunstan <andrew@dunslane.net> writes: >> On 3/22/22 12:58, Tom Lane wrote: >>> I only suggested removing the error check in _PG_init, not >>> changing the way the test works. >> Mark and I discussed this offline, and decided there was no requirement >> for the module to be preloaded. Do you have a different opinion? > No, I was actually about to make the same point: it seems to me there > are arguable use-cases for loading it shared, loading it per-session > (perhaps via ALTER USER SET or ALTER DATABASE SET to target particular > users/DBs), or even manually LOADing it. So the module code should > not be prejudging how it's used. > > On reflection, I withdraw my complaint about changing the way the > test script loads the module. Getting rid of the need for a custom > .conf file simplifies the test module, and that seems good. > So I'm on board with Mark's patch now. > > OK, I have pushed that. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com
Commits
-
Update some tests in 013_crash_restart.pl.
- 8803df4ea960 14.3 landed
- 7a43a1fc52d0 15.0 landed
-
Avoid freeing objects during json aggregate finalization
- 4eb979887968 15.0 cited
-
SQL/JSON constructors
- f4fb45d15c59 15.0 cited
-
Force NO_LOCALE / UTF8 for test_oat_hooks tests
- 7c51b7f7cc08 15.0 landed
-
Temporarily disable installcheck for test_oat_hooks module
- 5b29a9f77297 15.0 landed
-
Fix new Object Access hooks test
- f0206d99520e 15.0 landed
-
Add String object access hooks
- d11e84ea466b 15.0 landed
-
Add a test module for Object Access hooks
- 90efa2f5565d 15.0 landed