Am 14.08.26 um 20:45 schrieb Wietse Venema via Postfix-users:
Mel via Postfix-users:
On 2026-08-14 9:56, Wietse Venema via Postfix-users wrote:
Gerard Seibert via Postfix-users:
I rarely post on this forum. I am presently using FreeBSD 14.4-p8. As
you probably know, a serious problem has occurred with several pots
due to the change to LMDB. Has a solution been found for that problem?
Again? I thought this was fixed a few weeks ago.
It is fixed on FreeBSD.  The lmdb port was split into two versions so
ports could depend on whichever version is needed, and the Postfix ports
correctly depend on databases/lmdb0.

We'd need more information from Gerard if they're still seeing an issue.
Sorry, I mean this is confirmed as fixed in LMDB 1.0.1.

There is no need for FreeBSD depending on need for LMDB 0.9.*.

Just pretend that LMDB 1.0 never happened.

Wietse,


for Postfix's way of using LMDB and with respect to dropping databases relative to transactions, you are right.

For other packages, less so.  One of the offending APIs is mdb_env_get_maxkeysize(). It was changed in LMDB 1.0.0; and while in LMDB 0.9, it would already give useful results after mdb_env_create and before mdb_env_open, it returns 0 in LMDB 1.0.0 and LMDB 1.0.1, and must, as of LMDB 1.0.0 be called later, after a successful mdb_env_open() only.

It was only in LDAP release 1.0.1 that the documentation was fixed in response to a defect report by Steffen Nurpmeso. Hence FreeBSD's lmdb0 port and package do have a useful purpose.

This is also not mentioned in LMDB's upgrading.doc, I have asked to add it via <https://bugs.openldap.org/show_bug.cgi?id=10572>.


Cheers,
Matthias
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to