postgresql/src/test/modules
Peter Eisentraut c8e4030d1b Make finding openssl program a configure or meson option
Various test suites use the "openssl" program as part of their setup.
There isn't a way to override which openssl program is to be used,
other than by fiddling with the path, perhaps.  This has gotten
increasingly problematic because different versions of openssl have
different capabilities and do different things by default.

This patch checks for an openssl binary in configure and meson setup,
with appropriate ways to override it.  This is similar to how "lz4"
and "zstd" are handled, for example.  The meson build system actually
already did this, but the result was only used in some places.  This
is now applied more uniformly.

Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://www.postgresql.org/message-id/flat/dc638b75-a16a-007d-9e1c-d16ed6cf0ad2%40enterprisedb.com
2022-10-20 21:05:42 +02:00
..
brin meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
commit_ts meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
delay_execution Fix outdated code reference 2022-10-12 09:54:02 +02:00
dummy_index_am meson: Add windows resource files 2022-10-05 09:56:05 -07:00
dummy_seclabel meson: Add windows resource files 2022-10-05 09:56:05 -07:00
libpq_pipeline libpq: Reset singlerow flag correctly in pipeline mode 2022-10-14 19:06:26 +02:00
plsample meson: Add windows resource files 2022-10-05 09:56:05 -07:00
snapshot_too_old meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
spgist_name_ops meson: Add windows resource files 2022-10-05 09:56:05 -07:00
ssl_passphrase_callback Make finding openssl program a configure or meson option 2022-10-20 21:05:42 +02:00
test_bloomfilter meson: Add windows resource files 2022-10-05 09:56:05 -07:00
test_copy_callbacks Fix compilation warning in test_copy_callbacks 2022-10-12 08:45:01 +09:00
test_ddl_deparse Rename SetSingleFuncCall() to InitMaterializedSRF() 2022-10-18 10:22:35 +09:00
test_extensions meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
test_ginpostinglist meson: Add windows resource files 2022-10-05 09:56:05 -07:00
test_integerset Fix final warnings produced by -Wshadow=compatible-local 2022-10-07 13:13:27 +13:00
test_lfind meson: Add windows resource files 2022-10-05 09:56:05 -07:00
test_misc meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
test_oat_hooks meson: Add windows resource files 2022-10-05 09:56:05 -07:00
test_parser meson: Add windows resource files 2022-10-05 09:56:05 -07:00
test_pg_dump meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
test_predtest meson: Add windows resource files 2022-10-05 09:56:05 -07:00
test_rbtree meson: Add windows resource files 2022-10-05 09:56:05 -07:00
test_regex meson: Add windows resource files 2022-10-05 09:56:05 -07:00
test_rls_hooks meson: Add windows resource files 2022-10-05 09:56:05 -07:00
test_shm_mq meson: Add windows resource files 2022-10-05 09:56:05 -07:00
unsafe_tests meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
worker_spi meson: Add windows resource files 2022-10-05 09:56:05 -07:00
Makefile Add support for COPY TO callback functions 2022-10-11 11:45:52 +09:00
README Add an enforcement mechanism for global object names in regression tests. 2019-06-29 11:34:00 -04:00
meson.build Add support for COPY TO callback functions 2022-10-11 11:45:52 +09:00

README

Test extensions and libraries
=============================

src/test/modules contains PostgreSQL extensions that are primarily or entirely
intended for testing PostgreSQL and/or to serve as example code. The extensions
here aren't intended to be installed in a production server and aren't suitable
for "real work".

Furthermore, while you can do "make install" and "make installcheck" in
this directory or its children, it is NOT ADVISABLE to do so with a server
containing valuable data.  Some of these tests may have undesirable
side-effects on roles or other global objects within the tested server.
"make installcheck-world" at the top level does not recurse into this
directory.

Most extensions have their own pg_regress tests or isolationtester specs. Some
are also used by tests elsewhere in the tree.

If you're adding new hooks or other functionality exposed as C-level API this
is where to add the tests for it.