<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div>I just discovered that I’ve been impacted by this recent update to the port postgresql96—my fault entirely as there’s been plenty of warning on MacPorts threads.</div><div><br></div><div>I have PG96 data files, but see that I’ve auto-uninstalled PG96, and also PG96 no longer builds.</div><div><br></div><div>I’d like to migrate to the latest PG17, but without a running PG96 pg_ctl, I’d have to install this binary from upstream, or preferably from a prebuilt MacPorts tarball.</div><div><br></div><div>If possible, it would be much simpler to install from an existing prebuilt tarball, if that’s even possible.</div><div><br></div><div>Does anyone know how to patch postgresql96 so that it builds on macOS 14, or how to install a prebuilt port from a MacPorts download?</div><div><br></div><div>Thanks,</div><div><br></div><div>Steve</div><div><br></div><div><br></div><div>The known_fail error is in xml.c:</div><div><br></div><blockquote type="cite"><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 24px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures">:info:build xml.c:977:45: error: incompatible function pointer types passing 'void (void *, xmlErrorPtr)' (aka 'void (void *, struct _xmlError *)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') [-Wincompatible-function-pointer-types]</span></p></blockquote><div> </div><div><br></div><br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On Jul 12, 2024, at 4:54 PM, David Gilman <davidgilman1@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div>Is there any opposition to dropping all unsupported PostgreSQL<br>versions from MacPorts? That would be any version of PostgreSQL before<br>12. Version 12 runs out of support later this year.<br><br>Right now none of the unsupported versions will build in MacPorts<br>without backporting patches[0]. I don't think it's impossible to get<br>them building again, the PostgreSQL codebase moves slowly and patches<br>can probably be made to apply, I just don't think the effort is<br>justified if there aren't any users on these old versions.<br><br>Note that psql and the client library (libpq) are backwards compatible<br>going back many versions. You can use newer versions of psql with<br>older databases. These ports are only useful if you need to run a<br>specific version of the PostgreSQL server itself.<br><br>[0] at least https://github.com/postgres/postgres/commit/400928b83bd254d20f0790d467f221bb52707e6e<br>but I'm sure there are more gotchas as you go further back.<br><br>-- <br>David Gilman<br>:DG<<br></div></div></blockquote></div><br></body></html>