Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Update nixpkgs to get PostgreSQL 16 #28

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@
./ext/pg_net.nix
./ext/pg_hashids.nix
./ext/pgsodium.nix
./ext/pg_graphql.nix
#./ext/pg_graphql.nix
./ext/pg_stat_monitor.nix
./ext/pg_jsonschema.nix
#./ext/pg_jsonschema.nix
./ext/vault.nix
./ext/hypopg.nix
./ext/pg_tle.nix
Expand Down Expand Up @@ -333,7 +333,8 @@
createdb -h localhost testing

psql -h localhost -d testing -Xaf ${./tests/prime.sql}
pg_prove -h localhost -d testing ${sqlTests}/*.sql
shopt -s extglob
pg_prove -h localhost -d testing ${sqlTests}/!(*graphql*).sql

pkill postgres
mv logfile $out
Expand Down
6 changes: 4 additions & 2 deletions tests/prime.sql
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ CREATE EXTENSION IF NOT EXISTS pgroonga;

CREATE EXTENSION IF NOT EXISTS wrappers;
CREATE EXTENSION IF NOT EXISTS http;
CREATE EXTENSION IF NOT EXISTS pg_graphql;
CREATE EXTENSION IF NOT EXISTS pg_jsonschema;
/*
*CREATE EXTENSION IF NOT EXISTS pg_graphql;
*CREATE EXTENSION IF NOT EXISTS pg_jsonschema;
*/

CREATE EXTENSION IF NOT EXISTS citus;