Hey Andrew,
Thanks for the information. However, Postmodern does not use libpq. It only uses foreign code when creating SSL sockets. Was this mail just a general heads-up, or did you have a problem with Postmodern corrupting stack frames? (It uses (safety 0) all over the place, so potentially it could do bad things.)
Best, Marijn