summaryrefslogtreecommitdiffstats
path: root/pkgs/servers/sql/postgresql/default.nix
AgeCommit message (Collapse)Author
2024-06-14postgresql: add readme with eol-policyWolfgang Walther
This was discussed and agreed on in [1]. [1]: https://github.com/NixOS/nixpkgs/pull/310580#discussion_r1597284693
2024-04-04postgresql: remove thisAttr argument by calling tests directlyWolfgang Walther
Previously, it was not possible to run tests on an overridden derivation, because the derivation under test was always pulled from pkgs. With this change, the following will return the same test: postgresql_jit.tests and (postgresql.override { jitSupport = true; }).tests
2024-03-15postgresql: refactor to remove "this" argumentWolfgang Walther
This was proposed by abbradar in #150801, but left out of the follow up PR #221851 by Ma27 to reduce the size of the diff. Compared to the initial proposal this includes the callPackage call in the recursion, which avoids breaking the withJIT/withoutJIT helpers. In terms of nixpkgs, this is a pure refactor, no derivations change. However, this makes downstream expressions like the following possible: (postgresql.override { jitSupport = true; }).pkgs.postgis This would have not worked before without passing another "this" argument, which is error prone as can be seen in this example: https://github.com/PostgREST/postgrest/pull/3222/files
2024-03-15postgresql: refactor mkPackages in default.nixWolfgang Walther
Refactors some low hanging fruit in default.nix to make it easier to add new versions later on. Pure refactor, not changing any derivations. This change makes it easier to add new versions in default.nix without messing up - and also prevents us from adding version-specific arguments in default.nix by accident in the future. Those should be put in the versioned .nix files instead.
2024-03-15postgresql: refactor to split up default.nix (2/2)Wolfgang Walther
The recommended [1] structure for a package regarding versioning is to have each version in a separate file. This commit just mechanically copies code around without any changes. Pure refactor, not changing any derivations. [1]: pkgs/README.md
2024-03-15postgresql: refactor to split up default.nix (1/2)Wolfgang Walther
This just renames default.nix to generic.nix, because the biggest chunk of code should move that way in the next commit. This gives us a much better diff for the next commit and makes rebasing **much** easier in case of changes. This commit does not stand on its own and needs to go in with the next commit (2/2).
2024-03-15postgresql: refactor to remove useless references to "self"Wolfgang Walther
No need to reference self here, because llvmPackages / stdenv' are available in that scope anyway. Pure refactor, derivations don't change.
2024-03-15postgresql: refactor to move packages.nix to ext/default.nix (1/2)Wolfgang Walther
This commit is split up into two commits to allow git to detect renames, make rebasing easier and allow a working entry in .git-blame-ignore-revs. To allow bisecting we allow evaluation on every commit by moving the extensions into ext/ext/ first and back to ext/ with the next commit.
2024-03-15postgresql: refactor to move locale-binary-path.patch into patches/Wolfgang Walther
Seems to have been put in the wrong place.
2024-02-08Revert "postgresql: Fix build with libxml2 2.12"Mario Rodas
This reverts commit 2ed47724a666d908a671e1acdbddc85cc79fa249.
2024-02-08postgresql_16: 16.1 -> 16.2Mario Rodas
Changelog: https://www.postgresql.org/docs/release/16.2/
2024-02-08postgresql_15: 15.5 -> 15.6Mario Rodas
Changelog: https://www.postgresql.org/docs/release/15.6/
2024-02-08postgresql_14: 14.10 -> 14.11Mario Rodas
Changelog: https://www.postgresql.org/docs/release/14.11/
2024-02-08postgresql_13: 13.13 -> 13.14Mario Rodas
Changelog: https://www.postgresql.org/docs/release/13.14/
2024-02-08postgresql_12: 12.17 -> 12.18Mario Rodas
Changelog: https://www.postgresql.org/docs/release/12.18/
2024-01-12postgresql: add support to PL/PythonMario Rodas
2023-12-26postgresql: Fix build with libxml2 2.12Jan Tojnar
libxml 2.12.0 made the error argument of xmlStructuredErrorFunc const resulting in -Wincompatible-function-pointer-types error with CLang 16 and GCC 14. https://gitlab.gnome.org/GNOME/libxml2/-/commit/61034116d0a3c8b295c6137956adc3ae55720711
2023-12-12postgresql: add pam support on linuxArnar Gauti Ingason
2023-11-12postgresql_jit: fix buildMario Rodas
These patches are already included in the latest release. This reverts commit 8fbd381b8a46988b8e183a3fdd56091b07f26d3a.
2023-11-10postgresql_16: 16.0 -> 16.1Mario Rodas
Changelog: https://www.postgresql.org/docs/release/16.1/
2023-11-10postgresql_15: 15.4 -> 15.5Mario Rodas
Changelog: https://www.postgresql.org/docs/release/15.5/
2023-11-10postgresql_14: 14.9 -> 14.10Mario Rodas
Changelog: https://www.postgresql.org/docs/release/14.10/
2023-11-10postgresql_13: 13.12 -> 13.13Mario Rodas
Changelog: https://www.postgresql.org/docs/release/13.13/
2023-11-10postgresql_12: 12.16 -> 12.17Mario Rodas
Changelog: https://www.postgresql.org/docs/release/12.17/
2023-11-10postgresql: add changelog to metaMario Rodas
2023-10-31Merge master into staging-nextgithub-actions[bot]
2023-10-30postgresql_11: removeMaximilian Bosch
As described in the release lifecycle docs from postgresql[1], v11 will stop receiving fixes as of Nov 9 2023. This means it's EOL throughout the entire lifetime of 23.11, so let's drop it now. A lot of examples are also referencing postgresql_11. Where it's sensible, use postgresql_15 as example now to avoid confusion. This is also handy because the LLVM 16 fix for postgresql is not available for postgresql 11 ;-) [1] https://www.postgresql.org/support/versioning/
2023-10-29postgresql_jit: fix buildMaximilian Bosch
Failing Hydra build: https://hydra.nixos.org/build/239477682/nixlog/1 This got fixed upstream already in the release branches, applying the patches here solves the issue. This skips v11 since there's no patch available and it will be dropped soon anyways[1]. [1] #264250
2023-10-16postgresql: Add `meta.pkgConfigModules` and testMeet Barot
2023-10-10Merge pull request #259734 from marsam/postgresql-update-extensionsMario Rodas
postgresql: update extensions
2023-10-10postgresql: reorganize musl patches (#260067)Yureka
This also adds support for building postgresql 15 and 16 under musl.
2023-09-22postgresql: add dlSuffix to passthruMario Rodas
PostgreSQL changed the extension of its extensions in Darwin to use .dylib [1] [1] https://github.com/postgres/postgres/commit/b55f62abb2c2e07dfae99e19a2b3d7ca9e58dc1a
2023-09-16postgresql_16: init at 16.0Steve Purcell
2023-08-19Merge master into staging-nextgithub-actions[bot]
2023-08-18postgresql: fix musl patchesSean D Gillespie
2023-08-10postgresql_15: 15.3 -> 15.4ajs124
https://www.postgresql.org/docs/release/15.4/
2023-08-10postgresql_14: 14.8 -> 14.9ajs124
https://www.postgresql.org/docs/release/14.9/
2023-08-10postgresql_13: 13.11 -> 13.12ajs124
https://www.postgresql.org/docs/release/13.12/
2023-08-10postgresql_12: 12.15 -> 12.16ajs124
https://www.postgresql.org/docs/release/12.16/
2023-08-10postgresql_11: 11.20 -> 11.21ajs124
https://www.postgresql.org/docs/release/11.21/
2023-06-07Merge pull request #228349 from yu-re-ka/musl-postgresqlMaximilian Bosch
pkgsMusl.postgresql: fix build
2023-05-28pkgsMusl.postgresql: fix buildYureka
2023-05-12Merge staging-next into staginggithub-actions[bot]
2023-05-12treewide: don't use rustPlatform.rustAlyssa Ross
This will be deprecated in the next commit.
2023-05-12postgresql_15: 15.2 -> 15.3ajs124
https://www.postgresql.org/docs/release/15.3/
2023-05-12postgresql_14: 14.7 -> 14.8ajs124
https://www.postgresql.org/docs/release/14.8/
2023-05-12postgresql_13: 13.10 -> 13.11ajs124
https://www.postgresql.org/docs/release/13.11/
2023-05-12postgresql_12: 12.14 -> 12.15ajs124
https://www.postgresql.org/docs/release/12.15/
2023-05-12postgresql_11: 11.19 -> 11.20ajs124
https://www.postgresql.org/docs/release/11.20/
2023-03-29postgresql: save rebuilds of existing packagesMaximilian Bosch
...by using `+ lib.optionalString ...` rather than a substitution. That way the phases don't have additional trailing white-spaces in the non-JIT case which cause rebuilds.