Skip to content

Commit

Permalink
update pg_stat_monitor for pg16 support (#1221)
Browse files Browse the repository at this point in the history
  • Loading branch information
olirice authored Sep 19, 2024
1 parent 1f29227 commit c00fd90
Show file tree
Hide file tree
Showing 3 changed files with 5,030 additions and 5,024 deletions.
6 changes: 2 additions & 4 deletions nix/ext/pg_stat_monitor.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,22 @@ let
in
stdenv.mkDerivation rec {
pname = "pg_stat_monitor";
version = "1.1.1";
version = "2.1.0";

buildInputs = [ postgresql ];

src = fetchFromGitHub {
owner = "percona";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-S4N4Xnbkz57ue6f/eGjuRi64xT0NXjpMJiNNZnbbvbU=";
hash = "sha256-STJVvvrLVLe1JevNu6u6EftzAWv+X+J8lu66su7Or2s=";
};

makeFlags = [ "USE_PGXS=1" ];

installPhase = ''
mkdir -p $out/{lib,share/postgresql/extension}
cp pg_stat_monitor--1.0.15.sql.in pg_stat_monitor--1.0.sql
cp *.so $out/lib
cp *.sql $out/share/postgresql/extension
cp *.control $out/share/postgresql/extension
Expand Down
Loading

0 comments on commit c00fd90

Please sign in to comment.