This reuses the existing proxy object created by the dict_debug()
function.
---
proto/DATABASE_README.html | 13 +++
src/postconf/Makefile.in | 1 +
src/postconf/postconf.c | 10 +
src/postconf/postconf_dbms.c | 12 --
src/postconf/test28-main.cf | 12 ++
src/postconf/
I found the test28 and test29 tests difficult to understand, and
they seemed to not provide the intended coverage. Rewrite them for
clarity and completeness.
---
src/postconf/Makefile.in | 40 +
src/postconf/test28-main.cf | 22 ++
src/postconf/test28-ma
On 2025-06-08 16:16:59-04:00, Wietse Venema via Postfix-devel wrote:
> - postconf_dbms.c needs to be updated to skip leading debug: prefixes
> just like proxy: prefixes. The purpose of that module is to
> inspect database-specific config files (LDAP, SQL, etc.), and
> to complain about mista
Good job, and thanks for adding tests.
A few comments:
- I was surprised that it takes a non-trivial amount of code to
basically raise the DICT_DEBUG flag on a dictionary instance. But
I guess that is because the debug: monitor is now also installed
as a dictionary.
- It handles recursion
This reuses the existing proxy object created by the dict_debug()
function.
---
Changes from v1:
* Don't inherit type and name from the underlying DICT; instead set type to
"debug" and name to the registered name. This avoids the need for a new
char * member in the DICT_DEBUG struct, at