Skip to content
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

feat: bringing postgres package into our package set #1195

Merged
merged 2 commits into from
Sep 13, 2024

Conversation

samrose
Copy link
Collaborator

@samrose samrose commented Sep 11, 2024

What kind of change does this PR introduce?

This PR introduces the following changes

  1. Bring postgresql package into our codebase instead of using upstream package
  2. small cleanup of the output of tests to reflect what is currently working when running nix flake check -L

The version of postgresql for 15 remains unchanged here, and no other major version is yet introduced. This change also does not update the version of nixpkgs used. Those changes will come in subsequent pull requests.

@samrose samrose requested a review from a team as a code owner September 11, 2024 20:26
@samrose samrose requested a review from olirice September 11, 2024 20:26
"--sysconfdir=/etc"
"--libdir=$(lib)/lib"
"--with-system-tzdata=${tzdata}/share/zoneinfo"
"--enable-debug"
Copy link
Contributor

@pashkinelfe pashkinelfe Sep 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd drop --enable-debug and use CFLAGS=-g3 instead like in fdaee4b

As per
https://wiki.postgresql.org/wiki/Developer_FAQ --enable-debug will also set less speed-optimal optimization i.e. -Og CFLAGS (and also -fno-omit-frame-pointer) that could decrease performance compared to default -02. I think for production system -g3 is better

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pashkinelfe ok I will try that thanks!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pashkinelfe I am going to do this for sure, but going to isolate it to another PR so that we can keep the rest of this work moving forward, and so that I can assure that we build a separateDebugInfo with this outcome too.

@samrose samrose merged commit d8e6308 into develop Sep 13, 2024
8 checks passed
@samrose samrose deleted the sam/postgresql-package branch September 13, 2024 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants