Skip to content

Commit 43d64ad

Browse files
chore: bump to pg_net 0.20.0 (#1899)
* chore: bump to pg_net 0.20.0 No SQL changes are done. Only C library fixes. This bumps straight from 0.19.5 to 0.20.0: - https://github.com/supabase/pg_net/releases/tag/v0.19.6 - https://github.com/supabase/pg_net/releases/tag/v0.19.7 - https://github.com/supabase/pg_net/releases/tag/v0.20.0 + Adds prepared statements as a new feature (increases performance). * chore: bump to release * fix: fix package build * chore: bump to release * chore: bump to release --------- Co-authored-by: Sam Rose <samuel@supabase.io>
1 parent a4a8ed1 commit 43d64ad

File tree

3 files changed

+21
-5
lines changed

3 files changed

+21
-5
lines changed

ansible/vars.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ postgres_major:
1010

1111
# Full version strings for each major version
1212
postgres_release:
13-
postgresorioledb-17: "17.6.0.038-orioledb"
14-
postgres17: "17.6.1.081"
15-
postgres15: "15.14.1.081"
13+
postgresorioledb-17: "17.6.0.039-orioledb"
14+
postgres17: "17.6.1.082"
15+
postgres15: "15.14.1.082"
1616

1717
# Non Postgres Extensions
1818
pgbouncer_release: 1.25.1

nix/ext/pg_net.nix

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,17 @@ let
5252
env.NIX_CFLAGS_COMPILE =
5353
if (lib.versionOlder version "0.19.1") then
5454
"-Wno-error"
55-
else if (version == "0.19.5" && stdenv.isDarwin && stdenv.isAarch64) then
56-
# Fix for dangling pointer warning in src/core.c:177 on aarch64-darwin with newer clang
55+
else if
56+
(
57+
builtins.elem version [
58+
"0.19.5"
59+
"0.20.0"
60+
]
61+
&& stdenv.isDarwin
62+
)
63+
then
64+
# Fix for dangling pointer warning on darwin with newer clang
65+
# 0.19.5: src/core.c:177, 0.20.0: src/core.c:317
5766
"-Wno-error=dangling-assignment"
5867
else
5968
"";

nix/ext/versions.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,13 @@
319319
"17"
320320
],
321321
"hash": "sha256-Cpi2iASi1QJoED0Qs1dANqg/BNZTsz5S+pw8iYyW03Y="
322+
},
323+
"0.20.0": {
324+
"postgresql": [
325+
"15",
326+
"17"
327+
],
328+
"hash": "sha256-xMYS6VOWxUVErx6bXTvad6Gj7WTudxmiI9k9HzSvMDQ="
322329
}
323330
},
324331
"pgaudit": {

0 commit comments

Comments
 (0)