Unverified Commit 108733a2 authored by Diogo Correia's avatar Diogo Correia
Browse files

postgresql18Packages: mark remaining extensions as broken

Those extensions don't support building with PostgreSQL 18, yet.

To make sure the broken status is updated on the next upgrade, they all
have version checks in the form of an evaluation warning, so that there
has be explicit action regarding its PG18 compatibility.
parent 794d4223
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -66,7 +66,14 @@ postgresqlBuildExtension (finalAttrs: {
    # "Our soft policy for Postgres version compatibility is to support Citus'
    # latest release with Postgres' 3 latest releases."
    # https://www.citusdata.com/updates/v12-0/#deprecated_features
    broken = lib.versionOlder postgresql.version "15";
    broken =
      lib.versionOlder postgresql.version "15"
      ||
        # PostgreSQL 18 support issue upstream: https://github.com/citusdata/citus/issues/7978
        # Check after next package update.
        lib.warnIf (finalAttrs.version != "13.0.3") "Is postgresql18Packages.citus still broken?" (
          lib.versionAtLeast postgresql.version "18"
        );
    description = "Distributed PostgreSQL as an extension";
    homepage = "https://www.citusdata.com/";
    changelog = "https://github.com/citusdata/citus/blob/${finalAttrs.src.rev}/CHANGELOG.md";
+5 −0
Original line number Diff line number Diff line
@@ -51,6 +51,11 @@ postgresqlBuildExtension (finalAttrs: {
  };

  meta = {
    # PostgreSQL 18 support issue upstream: https://github.com/lanterndata/lantern/issues/375
    # Check after next package update.
    broken = lib.warnIf (
      finalAttrs.version != "0.5.0"
    ) "Is postgresql18Packages.lantern still broken?" (lib.versionAtLeast postgresql.version "18");
    description = "PostgreSQL vector database extension for building AI applications";
    homepage = "https://lantern.dev/";
    changelog = "https://github.com/lanterndata/lantern/blob/${finalAttrs.src.rev}/CHANGELOG.md";
+5 −0
Original line number Diff line number Diff line
@@ -19,6 +19,11 @@ postgresqlBuildExtension (finalAttrs: {
  buildInputs = postgresql.buildInputs;

  meta = {
    # PostgreSQL 18 support issue upstream: https://github.com/hapostgres/pg_auto_failover/issues/1083
    # Check after next package update.
    broken =
      lib.warnIf (finalAttrs.version != "2.2") "Is postgresql18Packages.pg_auto_failover still broken?"
        (lib.versionAtLeast postgresql.version "18");
    description = "PostgreSQL extension and service for automated failover and high-availability";
    mainProgram = "pg_autoctl";
    homepage = "https://github.com/citusdata/pg_auto_failover";
+5 −0
Original line number Diff line number Diff line
@@ -19,6 +19,11 @@ postgresqlBuildExtension (finalAttrs: {
  makeFlags = [ "USE_PGXS=1" ];

  meta = {
    # PostgreSQL 18 support issue upstream: https://github.com/pgbigm/pg_bigm/issues/28
    # Check after next package update.
    broken = lib.warnIf (
      finalAttrs.version != "1.2-20240606"
    ) "Is postgresql18Packages.pg_bigm still broken?" (lib.versionAtLeast postgresql.version "18");
    description = "Text similarity measurement and index searching based on bigrams";
    homepage = "https://pgbigm.osdn.jp/";
    maintainers = [ ];
+6 −0
Original line number Diff line number Diff line
@@ -17,6 +17,12 @@ postgresqlBuildExtension (finalAttrs: {
  };

  meta = {
    # PostgreSQL 18 support issue upstream: https://github.com/citusdata/pg_cron/issues/396
    # Note: already fixed on `main` branch.
    # Check after next package update.
    broken = lib.warnIf (
      finalAttrs.version != "1.6.5"
    ) "Is postgresql18Packages.pg_cron still broken?" (lib.versionAtLeast postgresql.version "18");
    description = "Run Cron jobs through PostgreSQL";
    homepage = "https://github.com/citusdata/pg_cron";
    changelog = "https://github.com/citusdata/pg_cron/releases/tag/v${finalAttrs.version}";
Loading