pgsql: Add test_dsa module.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add test_dsa module.
Date: 2023-11-15 10:11:27
Message-ID: E1r3Crn-005YOY-Gh@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/325f54033e59499cfc087932f68eec5356061640

Modified Files
--------------
src/test/modules/Makefile | 1 +
src/test/modules/meson.build | 1 +
src/test/modules/test_dsa/Makefile | 23 +++++
src/test/modules/test_dsa/expected/test_dsa.out | 13 +++
src/test/modules/test_dsa/meson.build | 33 +++++++
src/test/modules/test_dsa/sql/test_dsa.sql | 4 +
src/test/modules/test_dsa/test_dsa--1.0.sql | 12 +++
src/test/modules/test_dsa/test_dsa.c | 113 ++++++++++++++++++++++++
src/test/modules/test_dsa/test_dsa.control | 4 +
9 files changed, 204 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2023-11-15 13:12:12 pgsql: doc: align column order with pg_stat_statements view
Previous Message Jeff Davis 2023-11-15 02:03:29 pgsql: Add cache for recomputeNamespacePath().