Skip to content

Commit 11d4d08

Browse files
committed
Additional adjustments to add Pg18 support and remove Pg13 support.
1 parent 14d420d commit 11d4d08

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed
File renamed without changes.

Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
[package]
22
name = "pgdd"
33
version = "0.6.0"
4-
edition = "2021"
4+
edition = "2024"
55
description = "In-database (PostgreSQL) data dictionary providing database introspection via standard SQL query syntax."
66

77
[lib]
88
crate-type = ["cdylib", "lib"]
99

1010
[features]
11-
default = ["pg17"]
12-
pg13 = ["pgrx/pg13"]
11+
default = ["pg18"]
1312
pg14 = ["pgrx/pg14"]
1413
pg15 = ["pgrx/pg15"]
1514
pg16 = ["pgrx/pg16"]

build/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ BASE=$(dirname `pwd`)
2121
VERSION=$(cat $BASE/pgdd.control | grep default_version | cut -f2 -d\')
2222
LOGDIR=${BASE}/target/logs
2323
ARTIFACTDIR=${BASE}/target/artifacts
24-
PGRXVERSION=0.14.1
24+
PGRXVERSION=0.16.1
2525

26-
PG_VERS=("pg13" "pg14" "pg15" "pg16" "pg17")
26+
PG_VERS=("pg14" "pg15" "pg16" "pg17" "pg18")
2727
#PG_VERS=("pg17")
2828

2929
echo $BASE

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ extension_sql_file!("sql/load_default_data.sql",
1818
);
1919

2020

21-
// Using a feature flag to enable for all current version as a reminder to self we can do this.
22-
#[cfg(any(feature="pg13", feature="pg14", feature="pg15", feature="pg16", feature="pg17"))]
21+
// Example of feature flag to enable specific versions as a reminder to self we can do this.
22+
//#[cfg(any(feature="pg14", feature="pg15", feature="pg16", feature="pg17", feature="pg18"))]
2323
extension_sql_file!("sql/function_query/columns_12.sql",
2424
requires = ["create_extension_tables_all"]
2525
);

0 commit comments

Comments
 (0)