-
Notifications
You must be signed in to change notification settings - Fork 111
Postgres 17.5 binaries #79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Built as per instructions in README on an Amazon Linux 2023 EC2 instance.
On building new Postgres 17.5 binaries, the documented `dnf install` command din't provide all prereqs - these additional ones were needed.
Remove the 16.3 binaries, and update config.js to use the new 17.5 binaries.
Would you like this to also include the If I build the |
In the instructions for building new binaries, include copying `pg_restore`. Also, avoid repeating the filenames, just naming the source dir is enough.
I have included the 17.5 I'd greatly appreciate if this could be released, as I'm waiting on upgrading our Postgres cluster and really don't want to maintain a fork if I can help it :) If there's anything I can do to help / any changes you want to the PR, let me know and I'll jump on them ASAP. |
Hmm. It looks like SSL support isn't included in these binaries - having tested them manually bundled into one of our lambdas, I got this:
They were built as per the instructions with EDIT: also needed I have a
Claude suggests (I haven't yet verified) that:
https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html has a list of runtimes and versions to expect. https://aws.amazon.com/blogs/compute/introducing-the-amazon-linux-2023-runtime-for-aws-lambda/ - the announcement of the Amazon Linux 2023 runtime for AWS Lambda it suggests it will be the runtime for Node 20+:
So - the bundled binaries need to be considered carefully - building on an Amazon Linux 2023 AMI probably only makes sense if you know your lambda runner will be running it (because it's an OS-only runtime, or Node 20+ or other runtime that uses the Now, the thought occurs: if Postgres (and dep libs) are built on the al2 AMI, will they work on both? Launching an EC2 instance, though,the only al2 options are "Amazon Linux 2 LTS with SQL Server 2019 Standard" and ...2017 - hmm. I had to find it via the marketplace and "subscribe" to the AMI. Anyway - I built again on al2, and tried those binaries with our lambda, but still seeing the same issues with glib versions, unless I'm doing something stupid. What should happen here? Bundle both Amazon Linux 2023 and Amazon Linux 2 versions of the binaries? Or will the al2 versions work on al2023 too? As an aside: are there any licencing considerations for bundling the binaries here? Does there need to be a clear documentation that the Postgres and openssl binaries are provided for convenience and a link to the project repos to obtain source code (e.g. https://www.gnu.org/licenses/gpl-faq.html#SourceInCVS )? |
Built new Postgres 17.5 binaries following the instructions in the README (had to add a couple more prereqs before it would build; separate commit adding those prereqs to the
dnf install
command included).Postgres 17.5 appears to be the most recent Aurora for Postgres version available at the current time, support for it was announced in July 2025
Closes #78