1{
2 fetchFromGitHub,
3 lib,
4 postgresql,
5 postgresqlBuildExtension,
6}:
7
8postgresqlBuildExtension (finalAttrs: {
9 pname = "pg_relusage";
10 version = "0.0.1";
11
12 src = fetchFromGitHub {
13 owner = "adept";
14 repo = "pg_relusage";
15 tag = "${finalAttrs.version}";
16 hash = "sha256-8hJNjQ9MaBk3J9a73l+yQMwMW/F2N8vr5PO2o+5GvYs=";
17 };
18
19 meta = {
20 description = "pg_relusage extension for PostgreSQL: discover and log the relations used in your statements";
21 homepage = "https://github.com/adept/pg_relusage";
22 maintainers = with lib.maintainers; [ thenonameguy ];
23 platforms = postgresql.meta.platforms;
24 license = lib.licenses.postgresql;
25 };
26})