Add test_dsa module.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Add test_dsa module. This covers basic calls within a single backend process, and also calling dsa_allocate() or dsa_get_address() while in a different resource owners. The latter case was fixed by the previous commit. Discussion: https://www.postgresql.org/message-id/11b70743-c5f3-3910-8e5b-dd6c115ff829%40gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/test/modules/Makefile | modified | +1 −0 |
| src/test/modules/meson.build | modified | +1 −0 |
| src/test/modules/test_dsa/expected/test_dsa.out | added | +13 −0 |
| src/test/modules/test_dsa/Makefile | added | +23 −0 |
| src/test/modules/test_dsa/meson.build | added | +33 −0 |
| src/test/modules/test_dsa/sql/test_dsa.sql | added | +4 −0 |
| src/test/modules/test_dsa/test_dsa--1.0.sql | added | +12 −0 |
| src/test/modules/test_dsa/test_dsa.c | added | +113 −0 |
| src/test/modules/test_dsa/test_dsa.control | added | +4 −0 |
Discussion
- ResourceOwner refactoring 91 messages · 2020-11-17 → 2024-06-06