Skip to content

Commit 3642def

Browse files
authored
chore: deprecate pg_backtrace (#1468)
* deprecate pg_backtrace * handle in upgrade scripts * bump version for release
1 parent 79c663b commit 3642def

File tree

7 files changed

+9
-13
lines changed

7 files changed

+9
-13
lines changed

ansible/files/admin_api_scripts/pg_upgrade_scripts/initiate.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
EXTENSIONS_TO_DISABLE=(
1313
"pg_graphql"
1414
"pg_stat_monitor"
15+
"pg_backtrace"
1516
)
1617

1718
PG14_EXTENSIONS_TO_DISABLE=(
@@ -217,6 +218,7 @@ function initiate_upgrade {
217218
SHARED_PRELOAD_LIBRARIES=$(echo "$SHARED_PRELOAD_LIBRARIES" | sed "s/pg_net//" | xargs)
218219
SHARED_PRELOAD_LIBRARIES=$(echo "$SHARED_PRELOAD_LIBRARIES" | sed "s/check_role_membership//" | xargs)
219220
SHARED_PRELOAD_LIBRARIES=$(echo "$SHARED_PRELOAD_LIBRARIES" | sed "s/safeupdate//" | xargs)
221+
SHARED_PRELOAD_LIBRARIES=$(echo "$SHARED_PRELOAD_LIBRARIES" | sed "s/pg_backtrace//" | xargs)
220222

221223
# Exclude empty-string entries, as well as leading/trailing commas and spaces resulting from the above lib exclusions
222224
# i.e. " , pg_stat_statements, , pgsodium, " -> "pg_stat_statements, pgsodium"

ansible/vars.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ postgres_major:
88

99
# Full version strings for each major version
1010
postgres_release:
11-
postgresorioledb-17: "17.0.1.041-orioledb"
12-
postgres15: "15.8.1.047"
11+
postgresorioledb-17: "17.0.1.042-orioledb"
12+
postgres15: "15.8.1.048"
1313

1414
# Non Postgres Extensions
1515
pgbouncer_release: "1.19.0"

flake.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@
125125
./nix/ext/postgis.nix
126126
./nix/ext/pgrouting.nix
127127
./nix/ext/pgtap.nix
128-
./nix/ext/pg_backtrace.nix
129128
./nix/ext/pg_cron.nix
130129
./nix/ext/pgsql-http.nix
131130
./nix/ext/pg_plan_filter.nix

nix/tests/expected/z_15_ext_interface.out

Lines changed: 2 additions & 4 deletions
Large diffs are not rendered by default.

nix/tests/expected/z_17_ext_interface.out

Lines changed: 2 additions & 4 deletions
Large diffs are not rendered by default.

nix/tests/postgresql.conf.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ default_text_search_config = 'pg_catalog.english'
718718

719719
#local_preload_libraries = ''
720720
#session_preload_libraries = ''
721-
shared_preload_libraries = 'pg_stat_statements, pgaudit, plpgsql, plpgsql_check, pg_cron, pg_net, pgsodium, timescaledb, auto_explain, pg_tle, plan_filter, pg_backtrace' # (change requires restart)
721+
shared_preload_libraries = 'pg_stat_statements, pgaudit, plpgsql, plpgsql_check, pg_cron, pg_net, pgsodium, timescaledb, auto_explain, pg_tle, plan_filter' # (change requires restart)
722722
jit_provider = 'llvmjit' # JIT library to use
723723

724724

nix/tests/prime.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ create extension if not exists lo;
2828
create extension if not exists ltree;
2929
create extension if not exists moddatetime;
3030
create extension if not exists pageinspect;
31-
create extension if not exists pg_backtrace;
3231
create extension if not exists pg_buffercache;
3332

3433
/*

0 commit comments

Comments
 (0)