Skip to content

Research impact and feasibility of building the Postgres AMI with the same compiler flags provided by the Docker image #511

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

Closed
pcnc opened this issue Jan 26, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@pcnc
Copy link
Member

pcnc commented Jan 26, 2023

Context

The official Postgres Docker image, off of which we base our Docker builds, is built using different compiler flags than the ones we're using to build Postgres in the AMI

Need to investigate the impact and feasibility of building Postgres with the same compiler flags that are delivered in the Docker build.

AMI build:
'--with-llvm' '--with-openssl' '--with-systemd' '--with-uuid=e2fs' '--with-libxml' '--with-icu' '--with-lz4'

Docker build:
'--with-tcl' '--with-perl' '--with-python' '--with-pam' '--with-openssl' '--with-systemd' '--with-libxml' '--with-libxslt' '--enable-nls' '--enable-thread-safety' '--enable-debug' '--enable-dtrace' '--disable-rpath' '--with-uuid=e2fs' '--with-gnu-ld' '--with-gssapi' '--with-ldap' '--with-icu' '--with-llvm' '--with-lz4' '--with-zstd'

@pcnc pcnc added the enhancement New feature or request label Jan 26, 2023
@pcnc pcnc self-assigned this Jan 26, 2023
@pcnc pcnc changed the title Research impact and feasibility of building Postgres with the same compiler flags provided by the Docker image Research impact and feasibility of building the Postgres AMI with the same compiler flags provided by the Docker image Jan 26, 2023
@darora
Copy link
Contributor

darora commented Jan 26, 2023

fwiw we've wanted to move off the base postgres image and use a vanilla ubuntu image. Right now our final image includes two different builds, no?

@pcnc
Copy link
Member Author

pcnc commented Jan 26, 2023

fwiw we've wanted to move off the base postgres image and use a vanilla ubuntu image.

That is a better idea than putting time into this, would bring us even closer to parity.

Right now our final image includes two different builds, no?

Yeah, we deliver the same extensions, but wrt to the base Postgres feature-set, they're different.
Encountered reports of users developing locally, and then encountering missing features when moving to their production projects created on the platform - namely ICU, which we delivered to prod today.

@pcnc
Copy link
Member Author

pcnc commented Jan 26, 2023

Closing in favour of #513

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants