pgvecto-rs: mark as broken in pg12 and pg13

Upstream (accidentally) broke support for postgresql 12 and 13 on
v0.2.1 by changing the signature of the `from_datum` function[^1].
This went unnoticed since the release branch `0.2` did not have CI.
Furthermore, they are removing support for these versions of postgresql
on v0.3.0[^2].

[^1]: https://github.com/tensorchord/pgvecto.rs/commit/97e861d51d5a5a8c314a6657e02d445a1edcaa30
[^2]: https://github.com/tensorchord/pgvecto.rs/issues/343

+4 -3
+1 -1
nixos/tests/pgvecto-rs.nix
··· 66 66 ''; 67 67 68 68 }; 69 - applicablePostgresqlVersions = filterAttrs (_: value: versionAtLeast value.version "12") postgresql-versions; 69 + applicablePostgresqlVersions = filterAttrs (_: value: versionAtLeast value.version "14") postgresql-versions; 70 70 in 71 71 mapAttrs' 72 72 (name: package: {
+3 -2
pkgs/servers/sql/postgresql/ext/pgvecto-rs/default.nix
··· 2 2 , buildPgrxExtension 3 3 , cargo-pgrx_0_11_2 4 4 , clang_16 5 - , fetchCrate 6 5 , fetchFromGitHub 7 6 , nix-update-script 8 7 , nixosTests ··· 93 92 meta = with lib; { 94 93 # The pgrx 0.11.2 dependency is broken in aarch64-linux: https://github.com/pgcentralfoundation/pgrx/issues/1429 95 94 # It is fixed in pgrx 0.11.3, but upstream is still using pgrx 0.11.2 96 - broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin; 95 + # Additionally, upstream (accidentally) broke support for PostgreSQL 12 and 13 on 0.2.1, but 96 + # they are removing it in 0.3.0 either way: https://github.com/tensorchord/pgvecto.rs/issues/343 97 + broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin || (versionOlder postgresql.version "14"); 97 98 description = "Scalable, Low-latency and Hybrid-enabled Vector Search in Postgres"; 98 99 homepage = "https://github.com/tensorchord/pgvecto.rs"; 99 100 license = licenses.asl20;