postgresql/src
Michael Paquier 8432a815fe Add TAP tests for role membership in pg_hba.conf
This commit expands the coverage of pg_hba.conf with checks specific to
role memberships (one "root" role combined with a member and a
non-member).  Coverage is added for the database keywords "samegroup"
and "samerole", where the specified role has to be be a member of the
role with the same name as the requested database, and '+' on the user
entry, where members are allowed.  These tests are plugged in the
authentication test 001_password.pl as of extra connection attempts
combined with resets of pg_hba.conf, making them rather cheap.

Author: Nathan Bossart
Reviewed-by: Tom Lane, Michael Paquier
Discussion: https://postgr.es/m/20221009211348.GB900071@nathanxps13
2022-10-11 13:57:07 +09:00
..
backend Add support for COPY TO callback functions 2022-10-11 11:45:52 +09:00
bin meson: Add support for building with precompiled headers 2022-10-06 17:19:30 -07:00
common meson: Add support for building with precompiled headers 2022-10-06 17:19:30 -07:00
fe_utils meson: Add support for building with precompiled headers 2022-10-06 17:19:30 -07:00
include Add support for COPY TO callback functions 2022-10-11 11:45:52 +09:00
interfaces Remove unnecessary uses of Abs() 2022-10-07 13:29:33 +02:00
makefiles autoconf: Rely on ar supporting index creation 2022-10-07 11:53:39 -07:00
pl meson: Add support for building with precompiled headers 2022-10-06 17:19:30 -07:00
port meson: Add support for building with precompiled headers 2022-10-06 17:19:30 -07:00
template Move darwin sysroot determination into separate file 2022-09-01 16:54:19 -07:00
test Add TAP tests for role membership in pg_hba.conf 2022-10-11 13:57:07 +09:00
timezone meson: Add windows resource files 2022-10-05 09:56:05 -07:00
tools Add support for COPY TO callback functions 2022-10-11 11:45:52 +09:00
tutorial Update copyright for 2022 2022-01-07 19:04:57 -05:00
.gitignore
DEVELOPERS
Makefile Remove the option to build thread_test.c outside configure. 2020-10-21 12:08:48 -04:00
Makefile.global.in autoconf: Rely on ar supporting index creation 2022-10-07 11:53:39 -07:00
Makefile.shlib autoconf: Rely on ar supporting index creation 2022-10-07 11:53:39 -07:00
meson.build meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
nls-global.mk Fix for make unportability 2022-07-13 09:15:01 +02:00