Unverified Commit e5ebe9be authored by Wolfgang Walther's avatar Wolfgang Walther Committed by GitHub
Browse files

postgresql_18: 18beta3 -> 18rc1 (#440087)

parents 979599f0 01dde1fe
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
import ./generic.nix {
  version = "18beta2";
  rev = "refs/tags/REL_18_BETA3";
  hash = "sha256-QpJONriQnRN75cCcsdu9TGt8Km7NQLs5diZx1pVruc4=";
  version = "18rc1";
  rev = "refs/tags/REL_18_RC1";
  hash = "sha256-PDycGuKrEa00N1h/BsWUiwG7naE0f2wFFXpQSOhs/hY=";
  muslPatches = {
    dont-use-locale-a = {
      url = "https://git.alpinelinux.org/aports/plain/main/postgresql17/dont-use-locale-a-on-musl.patch?id=d69ead2c87230118ae7f72cef7d761e761e1f37e";
+8 −2
Original line number Diff line number Diff line
{
  fetchFromGitHub,
  fetchpatch,
  lib,
  postgresql,
  postgresqlBuildExtension,
@@ -16,8 +17,13 @@ postgresqlBuildExtension (finalAttrs: {
    hash = "sha256-Latdxph1Ura8yKEokEjalJ+/GY+pAKOT3GXjuLprj6c=";
  };

  # https://github.com/citusdata/postgresql-hll/issues/166#issuecomment-3165489050
  NIX_CFLAGS_COMPILE = "-Wno-error=missing-variable-declarations";
  patches = [
    (fetchpatch {
      name = "fix-postgresql-18.patch";
      url = "https://github.com/citusdata/postgresql-hll/commit/f998e234653ea397ddddc1278d1c02d8d011bd16.patch";
      hash = "sha256-gF4f+B4Gu/QEyCGMfKLmRK6lNwgfd8lML55wMkhsSY4=";
    })
  ];

  meta = {
    description = "HyperLogLog for PostgreSQL";
+6 −9
Original line number Diff line number Diff line
@@ -23,13 +23,10 @@ postgresqlBuildExtension (finalAttrs: {
    maintainers = with lib.maintainers; [ ivan ];
    platforms = postgresql.meta.platforms;
    license = lib.licenses.postgresql;
    broken =
      lib.versionOlder postgresql.version "13"
      ||
    # PostgreSQL 18 support issue upstream: https://github.com/sraoss/pg_ivm/issues/133
    # Note: already fixed on `main` branch.
    # Check after next package update.
        lib.warnIf (finalAttrs.version != "1.11") "Is postgresql18Packages.pg_ivm still broken?" (
    broken = lib.warnIf (finalAttrs.version != "1.11") "Is postgresql18Packages.pg_ivm still broken?" (
      lib.versionAtLeast postgresql.version "18"
    );
  };
+0 −1
Original line number Diff line number Diff line
@@ -23,6 +23,5 @@ postgresqlBuildExtension (finalAttrs: {
    maintainers = with lib.maintainers; [ gaelreyrol ];
    platforms = postgresql.meta.platforms;
    license = lib.licenses.mpl20;
    broken = lib.versionOlder postgresql.version "13";
  };
})