Skip to content

Update to pgrx 0.12.0.alpha.1 #50

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"]
Expand All @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
10 changes: 5 additions & 5 deletions build/build.sh
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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
Expand All @@ -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-)
Expand Down
2 changes: 1 addition & 1 deletion build/package.sh
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions pgdd.control
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/bin/pgrx_embed_pgdd.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Required for pgrx v0.12.0.alpha.1
::pgrx::pgrx_embed!();