Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump pg_net to 0.9.3 #1115

Closed
wants to merge 2 commits into from
Closed
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
2 changes: 1 addition & 1 deletion common-nix.vars.pkr.hcl
Original file line number Diff line number Diff line change
@@ -1 +1 @@
postgres-version = "15.6.1.108"
postgres-version = "15.6.1.109"
12 changes: 6 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# The 'oriole_pkgs' variable holds all the upstream packages in nixpkgs, which
# we can use to build our own images; it is the common name to refer to
# a copy of nixpkgs which contains all its packages.
# it also serves as a base for importing the orioldb/postgres overlay to
# it also serves as a base for importing the orioldb/postgres overlay to
#build the orioledb postgres patched version of postgresql16
oriole_pkgs = import nixpkgs {
config = { allowUnfree = true; };
Expand Down Expand Up @@ -302,7 +302,7 @@
'';

# Start a version of the client and runs migrations script on server.
start-client-and-migrate =
start-client-and-migrate =
let
migrationsDir = ./migrations/db;
postgresqlSchemaSql = ./nix/tools/postgresql_schema.sql;
Expand Down Expand Up @@ -346,7 +346,7 @@
mkdir -p $out/bin
substitute ${./nix/tools/run-replica.sh.in} $out/bin/start-postgres-replica \
--subst-var-by 'PGSQL_SUPERUSER' '${pgsqlSuperuser}' \
--subst-var-by 'PSQL15_BINDIR' '${basePackages.psql_15.bin}'\
--subst-var-by 'PSQL15_BINDIR' '${basePackages.psql_15.bin}'
chmod +x $out/bin/start-postgres-replica
'';
sync-exts-versions = pkgs.runCommand "sync-exts-versions" { } ''
Expand All @@ -356,7 +356,7 @@
--subst-var-by 'JQ' '${pkgs.jq}/bin/jq' \
--subst-var-by 'NIX_EDITOR' '${nix-editor.packages.${system}.nix-editor}/bin/nix-editor' \
--subst-var-by 'NIXPREFETCHURL' '${pkgs.nixVersions.nix_2_20}/bin/nix-prefetch-url' \
--subst-var-by 'NIX' '${pkgs.nixVersions.nix_2_20}/bin/nix'
--subst-var-by 'NIX' '${pkgs.nixVersions.nix_2_20}/bin/nix'
chmod +x $out/bin/sync-exts-versions
'';
};
Expand Down Expand Up @@ -392,7 +392,7 @@
# Create a simple script to echo the key
echo '#!/bin/sh' > $TMPDIR/getkey.sh
echo 'echo $PGSODIUM_KEY' >> $TMPDIR/getkey.sh
chmod +x $TMPDIR/getkey.sh
chmod +x $TMPDIR/getkey.sh
initdb --locale=C
substitute ${./nix/tests/postgresql.conf.in} $PGDATA/postgresql.conf \
--subst-var-by PGSODIUM_GETKEY_SCRIPT "$TMPDIR/getkey.sh"
Expand Down Expand Up @@ -430,7 +430,7 @@
--host=localhost \
--port=5432 \
$(ls ${./nix/tests/sql} | sed -e 's/\..*$//' | sort )

pg_ctl -D "$PGDATA" stop
mv $TMPDIR/logfile/postgresql.log $out
echo ${pgpkg}
Expand Down
4 changes: 2 additions & 2 deletions nix/ext/pg_net.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

stdenv.mkDerivation rec {
pname = "pg_net";
version = "0.9.2";
version = "0.9.3";

buildInputs = [ curl postgresql ];

src = fetchFromGitHub {
owner = "supabase";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-Ac3lpHhBFTxeSb/HERwZ4fT8PJ7Ibrivn/hDkrs0IYE=";
hash = "sha256-pgyGMJiwmIrghmWOieJoQjWma/A4XAsqLzCjmAyuU9w=";
};

env.NIX_CFLAGS_COMPILE = "-Wno-error";
Expand Down
Loading