Skip to content

Commit

Permalink
Update pgrx to v0.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
craigpangea committed Nov 1, 2023
1 parent d0828e6 commit f7e8aa6
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 28 deletions.
52 changes: 29 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ pg16 = ["pgrx/pg16", "pgrx-tests/pg16"]
pg_test = []

[dependencies]
pgrx = "=0.10.2"
pgrx = "=0.11.0"
uuid = { version = "1.5", features = ["std", "v7"] }

[dev-dependencies]
pgrx-tests = "=0.10.2"
pgrx-tests = "=0.11.0"

[profile.dev]
panic = "unwind"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN chown postgres:postgres -R /foo

USER postgres
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --profile minimal
RUN cargo install --locked --version 0.10.2 cargo-pgrx
RUN cargo install --locked --version 0.11.0 cargo-pgrx
RUN cargo pgrx init --pg16 $(which pg_config)

USER root
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ postgres://postgres:password@localhost:28801/postgres

## Installation

Requires [pgrx](https://github.com/tcdi/pgrx). If you have `pgrx` installed then
Requires [pgrx](https://github.com/pgcentralfoundation/pgrx). If you have `pgrx` installed then

```
cargo pgrx run pg16
Expand All @@ -40,7 +40,7 @@ should drop you into a psql prompt:
psql (16.0)
Type "help" for help.
pg_uuidv7=# create extension uuidv7;
pg_uuidv7=# create extension pg_uuidv7;
CREATE EXTENSION
pg_uuidv7=# select uuid_generate_v7();
uuid_generate_v7
Expand Down

0 comments on commit f7e8aa6

Please sign in to comment.