diff --git a/Cargo.toml b/Cargo.toml index 21e126f..d39b3b2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "pgdd" -version = "0.5.2" -edition = "2018" +version = "0.5.3-dev.0" +edition = "2021" description = "In-database (PostgreSQL) data dictionary providing database introspection via standard SQL query syntax." [lib] -crate-type = ["cdylib"] +crate-type = ["cdylib", "lib"] [features] default = ["pg16"] @@ -17,12 +17,12 @@ pg16 = ["pgrx/pg16"] pg_test = [] [dependencies] -pgrx = "=0.10.2" -pgrx-macros = "=0.10.2" +pgrx = "=0.12.0-alpha.1" +#pgrx-macros = "=0.12.0-alpha.1" [dev-dependencies] -pgrx-tests = "=0.10.2" +pgrx-tests = "=0.12.0-alpha.1" [profile.dev] diff --git a/LICENSE b/LICENSE index faa4bd3..b0d6b45 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2018 - 2023 Ryan Lambert +Copyright (c) 2018 - 2024 Ryan Lambert Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/build/build.sh b/build/build.sh index e89bc30..f4b2fc9 100755 --- a/build/build.sh +++ b/build/build.sh @@ -1,6 +1,6 @@ # Borrowed heavily from https://github.com/zombodb/zombodb/blob/master/build/build.sh # -# Copyright 2018-2023 RustProof Labs +# Copyright 2018-2024 RustProof Labs # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -21,10 +21,10 @@ BASE=$(dirname `pwd`) VERSION=$(cat $BASE/pgdd.control | grep default_version | cut -f2 -d\') LOGDIR=${BASE}/target/logs ARTIFACTDIR=${BASE}/target/artifacts -PGRXVERSION=0.10.2 +PGRXVERSION=0.12.0-alpha.1 -PG_VERS=("pg12" "pg13" "pg14" "pg15" "pg16") -#PG_VERS=("pg16") +#PG_VERS=("pg12" "pg13" "pg14" "pg15" "pg16") +PG_VERS=("pg16") echo $BASE echo $VERSION @@ -36,7 +36,7 @@ mkdir -p ${LOGDIR} mkdir -p ${ARTIFACTDIR} -for image in `ls docker/ ` ; do +for image in `ls docker/ | grep jammy ` ; do OS_DIST=$(echo ${image}|cut -f2 -d-) OS_VER=$(echo ${image}|cut -f3 -d-) diff --git a/build/package.sh b/build/package.sh index 91f9b94..7f77fdc 100755 --- a/build/package.sh +++ b/build/package.sh @@ -1,6 +1,6 @@ # Borrowed heavily from https://github.com/zombodb/zombodb/blob/master/build/package.sh # -# Copyright 2021-2023 RustProof Labs +# Copyright 2021-2024 RustProof Labs # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pgdd.control b/pgdd.control index 8cc7fd4..1d0a777 100644 --- a/pgdd.control +++ b/pgdd.control @@ -1,5 +1,5 @@ -comment = 'An in-database data dictionary providing database introspection via standard SQL query syntax. Developed using pgx (https://github.com/zombodb/pgx).' -default_version = '0.5.2' +comment = 'An in-database data dictionary providing database introspection via standard SQL query syntax. Developed using pgx (https://github.com/pgcentralfoundation/pgrx).' +default_version = '0.5.3-dev.0' module_pathname = '$libdir/pgdd' relocatable = false schema = dd diff --git a/src/bin/pgrx_embed_pgdd.rs b/src/bin/pgrx_embed_pgdd.rs new file mode 100644 index 0000000..7b745d4 --- /dev/null +++ b/src/bin/pgrx_embed_pgdd.rs @@ -0,0 +1,2 @@ +// Required for pgrx v0.12.0.alpha.1 +::pgrx::pgrx_embed!(); \ No newline at end of file