postgresql_16: init at 16.0

+27 -1
+11 -1
pkgs/servers/sql/postgresql/default.nix
··· 98 ++ lib.optionals jitSupport [ "--with-llvm" ]; 99 100 patches = [ 101 - ./patches/disable-resolve_symlinks.patch 102 ./patches/less-is-more.patch 103 ./patches/hardcode-pgxs-path.patch 104 ./patches/specify_pkglibdir_at_runtime.patch ··· 355 hash = "sha256-uuxaS9xENzNmU7bLXZ7Ym+W9XAxYuU4L7O4KmZ5jyPk="; 356 this = self.postgresql_15; 357 thisAttr = "postgresql_15"; 358 inherit self; 359 }; 360 };
··· 98 ++ lib.optionals jitSupport [ "--with-llvm" ]; 99 100 patches = [ 101 + (if atLeast "16" then ./patches/disable-normalize_exec_path.patch 102 + else ./patches/disable-resolve_symlinks.patch) 103 ./patches/less-is-more.patch 104 ./patches/hardcode-pgxs-path.patch 105 ./patches/specify_pkglibdir_at_runtime.patch ··· 356 hash = "sha256-uuxaS9xENzNmU7bLXZ7Ym+W9XAxYuU4L7O4KmZ5jyPk="; 357 this = self.postgresql_15; 358 thisAttr = "postgresql_15"; 359 + inherit self; 360 + }; 361 + 362 + postgresql_16 = self.callPackage generic { 363 + version = "16.0"; 364 + psqlSchema = "16"; 365 + hash = "sha256-356CPrIjMEROHUjlLMZRNaZSpv2zzjJePwhUkzn1G5k="; 366 + this = self.postgresql_16; 367 + thisAttr = "postgresql_16"; 368 inherit self; 369 }; 370 };
+12
pkgs/servers/sql/postgresql/patches/disable-normalize_exec_path.patch
···
··· 1 + --- a/src/common/exec.c 2 + +++ b/src/common/exec.c 3 + @@ -238,6 +238,9 @@ 4 + static int 5 + normalize_exec_path(char *path) 6 + { 7 + + // On NixOS we *want* stuff relative to symlinks. 8 + + return 0; 9 + + 10 + /* 11 + * We used to do a lot of work ourselves here, but now we just let 12 + * realpath(3) do all the heavy lifting.
+4
pkgs/top-level/all-packages.nix
··· 27300 postgresql_13 27301 postgresql_14 27302 postgresql_15 27303 27304 postgresql_11_jit 27305 postgresql_12_jit 27306 postgresql_13_jit 27307 postgresql_14_jit 27308 postgresql_15_jit 27309 ; 27310 postgresql = postgresql_14.override { this = postgresql; }; 27311 postgresql_jit = postgresql_14_jit.override { this = postgresql_jit; }; ··· 27315 postgresql12Packages = recurseIntoAttrs postgresql_12.pkgs; 27316 postgresql13Packages = recurseIntoAttrs postgresql_13.pkgs; 27317 postgresql15Packages = recurseIntoAttrs postgresql_15.pkgs; 27318 postgresql11JitPackages = recurseIntoAttrs postgresql_11_jit.pkgs; 27319 postgresql12JitPackages = recurseIntoAttrs postgresql_12_jit.pkgs; 27320 postgresql13JitPackages = recurseIntoAttrs postgresql_13_jit.pkgs; 27321 postgresql14JitPackages = recurseIntoAttrs postgresql_14_jit.pkgs; 27322 postgresql15JitPackages = recurseIntoAttrs postgresql_15_jit.pkgs; 27323 postgresql14Packages = postgresqlPackages; 27324 27325 postgresql_jdbc = callPackage ../development/java-modules/postgresql_jdbc { };
··· 27300 postgresql_13 27301 postgresql_14 27302 postgresql_15 27303 + postgresql_16 27304 27305 postgresql_11_jit 27306 postgresql_12_jit 27307 postgresql_13_jit 27308 postgresql_14_jit 27309 postgresql_15_jit 27310 + postgresql_16_jit 27311 ; 27312 postgresql = postgresql_14.override { this = postgresql; }; 27313 postgresql_jit = postgresql_14_jit.override { this = postgresql_jit; }; ··· 27317 postgresql12Packages = recurseIntoAttrs postgresql_12.pkgs; 27318 postgresql13Packages = recurseIntoAttrs postgresql_13.pkgs; 27319 postgresql15Packages = recurseIntoAttrs postgresql_15.pkgs; 27320 + postgresql16Packages = recurseIntoAttrs postgresql_16.pkgs; 27321 postgresql11JitPackages = recurseIntoAttrs postgresql_11_jit.pkgs; 27322 postgresql12JitPackages = recurseIntoAttrs postgresql_12_jit.pkgs; 27323 postgresql13JitPackages = recurseIntoAttrs postgresql_13_jit.pkgs; 27324 postgresql14JitPackages = recurseIntoAttrs postgresql_14_jit.pkgs; 27325 postgresql15JitPackages = recurseIntoAttrs postgresql_15_jit.pkgs; 27326 + postgresql16JitPackages = recurseIntoAttrs postgresql_16_jit.pkgs; 27327 postgresql14Packages = postgresqlPackages; 27328 27329 postgresql_jdbc = callPackage ../development/java-modules/postgresql_jdbc { };