Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: tensorchord/pgrx

Tags

v0.16.1

Toggle v0.16.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update version to 0.16.1 (pgcentralfoundation#2145)

Welcome to pgrx v0.16.1. This is a relatively minor release but does add
support for Postgres v18, released on September 25, 2025.

As always, install/update `cargo-pgrx` with `cargo install cargo-pgrx
--version 0.16.1 --locked`. Then run `cargo pgrx update` in all your
extension crates.

To pick up Postgres v18, you'll need to run (at least) `cargo pgrx init`
and then add the `pg18` feature flag to your extension's `Cargo.toml`.


## What's Changed

* remove polyfill crates by @usamoi in
pgcentralfoundation#2128
* Example : register PostgreSQL hooks by @daamien in
pgcentralfoundation#2125
* add more WAL/replication headers by @eeeebbbbrrrr in
pgcentralfoundation#2130
* remove home, supports-color 0.2 and update toml, color-eyre by @usamoi
in pgcentralfoundation#2133
* cargo-pgrx: fix pg_regress path inconsistency by @charmitro in
pgcentralfoundation#2137
* fix big endian by @usamoi in
pgcentralfoundation#2132
* Fixing CI by @eeeebbbbrrrr in
pgcentralfoundation#2143
* pg18 support by @eeeebbbbrrrr in
pgcentralfoundation#2144


**Full Changelog**:
pgcentralfoundation/pgrx@v0.16.0...v0.16.1

v0.14.1

Toggle v0.14.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update version to 0.14.1 (pgcentralfoundation#2042)

This is pgrx v0.14.1. It is a small bugfix release that fixes a problem
building extensions that have their own `build.rs`.

Please update with `cargo install cargo-pgrx --version 0.14.1 --locked`
and update your extension `Cargo.toml` files with `cargo pgrx upgrade`.


## What's Changed
* fix `cargo pgrx install` error if there is a build script by @usamoi
in pgcentralfoundation#2041


**Full Changelog**:
pgcentralfoundation/pgrx@v0.14.0...v0.14.1

v0.13.1

Toggle v0.13.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update version to 0.13.1 (pgcentralfoundation#1992)

v0.13.0

Toggle v0.13.0's commit message
Update version to 0.13.0 (pgcentralfoundation#1984)

Welcome to pgrx v0.13.0. The first update in a little bit, which makes
pgrx current with upstream dependencies, rust 1.85.0 (but not 2024
Edition, yet), and a slew of fixes and cleanups and community
contributions.

# Upgrading

You'll need to `cargo install cargo-pgrx --version 0.13.0 --locked` to
get the latest `cargo-pgrx` tool, and then you can run `cargo pgrx
upgrade` in your extension crates to update their dependencies.

# Breaking Changes

Generally, the only breaking changes in v0.13.0 are related to the
user-facing SPI APIs. In general, SPI functions that previously took a
Vec of Arguments now take a `&[DatumWithOid]`, with proper lifetime
bounds. This is a fairly straightforward, boilerplate to update to.

@YohDeadfall has done a lot of work on improving SPI's safety and it's
greatly appreciated!

# What's Changed

## `cargo-pgrx`

* fix a deadlock in `cargo pgrx install` during `get_git_hash()` by
@eeeebbbbrrrr in pgcentralfoundation#1935
* `cargo pgrx test --runas` envar passing by @eeeebbbbrrrr in
pgcentralfoundation#1674
* Search for sql upgrade scripts relative to the package manifest by
@tristan957 in pgcentralfoundation#1979

## Build System

* use `allowlist_file` for bindgen by @usamoi in
pgcentralfoundation#1922
* add `pg_config --libdir` to linker search path by @usamoi in
pgcentralfoundation#1932
* lock patch version of pgrx-bindgen by @usamoi in
pgcentralfoundation#1939
* Introduce a blocklist of "yanked" Postgres versions by @eeeebbbbrrrr
in pgcentralfoundation#1950
* Make sure bindgen gets the cppflags even if we aren't using macOS by
@thomcc in pgcentralfoundation#1336

## SPI

* Made SPI query arguments type safe by @YohDeadfall in
pgcentralfoundation#1858
* Changed args of prepare methods to be slices by @YohDeadfall in
pgcentralfoundation#1933
* Added connect_mut for data changing SPI operations by @YohDeadfall in
pgcentralfoundation#1913

## General `pgrx-pg-sys` Interfaces

* Allow creating Oid from a u32 in a const context by @syvb in
pgcentralfoundation#1943
* Add utils/acl.h by @daamien in
pgcentralfoundation#1945
* Add catalog/catalog.h by @daamien in
pgcentralfoundation#1946
* Added `oids_of!` macro by @YohDeadfall in
pgcentralfoundation#1879
* Port `bufpage.h` functions by @rebasedming in
pgcentralfoundation#1982

## Bug Fixes

* Check wakeup_flags from `wait_latch` function to exit on
`WL_POSTMASTER_DEATH` by @var77 in
pgcentralfoundation#1938


## Overall Code Cleanup

* refactor: remove redundant references (`&`) by @hamirmahal in
pgcentralfoundation#1941
* fix warnings by @usamoi in
pgcentralfoundation#1948
* Updating readme.md by @ChronicallyJD in
pgcentralfoundation#1949
* style: simplify some statements for readability by @hamirmahal in
pgcentralfoundation#1962
* docs: fix pgx info in cargo-pgrx README by @mrdrivingduck in
pgcentralfoundation#1953
* Updated expected UI test outputs by @YohDeadfall in
pgcentralfoundation#1981
* Fix "about" info for cross subcommand by @mjgarton in
pgcentralfoundation#1974
* update dependencies and fix compilation issues by @eeeebbbbrrrr in
pgcentralfoundation#1983

# Thanks!

Thanks to the community, past, present, and future. Especially to our
new contributors...

# New Contributors
* @var77 made their first contribution in
pgcentralfoundation#1938
* @ChronicallyJD made their first contribution in
pgcentralfoundation#1949
* @mrdrivingduck made their first contribution in
pgcentralfoundation#1953
* @tristan957 made their first contribution in
pgcentralfoundation#1979
* @mjgarton made their first contribution in
pgcentralfoundation#1974

**Full Changelog**:
pgcentralfoundation/pgrx@v0.12.7...v0.13.0

v0.12.9

Toggle v0.12.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update version to 0.12.9 (pgcentralfoundation#1951)

v0.12.8

Toggle v0.12.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update version to 0.12.8 (pgcentralfoundation#1937)

v0.12.7

Toggle v0.12.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update version to 0.12.7 (pgcentralfoundation#1931)

v0.12.6

Toggle v0.12.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update version to 0.12.6 (pgcentralfoundation#1919)

Welcome to pgrx v0.12.6. This releases fixes a number of bugs, cleans up
various parts of the code, adds more Postgres `#include` headers, and
other little things.

To upgrade, first install cargo-pgrx with `cargo install cargo-pgrx
--version 0.12.6 --locked`. Then you can run `cargo pgrx upgrade` in
your extension's crate to update its dependencies.

## What's Changed
* Removed extra allocation from `IntoDatum for char` by @YohDeadfall in
pgcentralfoundation#1887
* Fixed IntoDatum impl for char introduced by pgcentralfoundation#1887 by @YohDeadfall in
pgcentralfoundation#1889
* Support refs to unsized SqlTranslatable types by @workingjubilee in
pgcentralfoundation#1890
* Nullable is Copy when T is Copy by @workingjubilee in
pgcentralfoundation#1884
* Macro based IntoDatum for string types by @YohDeadfall in
pgcentralfoundation#1886
* `impl FromDatum for CString` by @workingjubilee in
pgcentralfoundation#1896
* Add `BorrowDatum` for unsizing borrows of datums by @workingjubilee in
pgcentralfoundation#1891
* Always panic if len of varlena exceeds the maximum by @YohDeadfall in
pgcentralfoundation#1894
* Use cstr literal syntax to avoid unsafe and ??? by @workingjubilee in
pgcentralfoundation#1898
* Implement UnboxDatum for ItemPointerData by @syvb in
pgcentralfoundation#1900
* fix compilation on some CPUs and Windows by @usamoi in
pgcentralfoundation#1901
* docs: update generic type name of TableIterator by @SteveLauC in
pgcentralfoundation#1905
* Remove Python workaround for Homebrew by @workingjubilee in
pgcentralfoundation#1908
* Improved messages for json errors by @YohDeadfall in
pgcentralfoundation#1893
* Adds more headers by @aykut-bozkurt in
pgcentralfoundation#1910
* docs: align description of GucContext::SuBackend and
GucContext::Backend with original PostgreSQL description by @mrl5 in
pgcentralfoundation#1909
* docs: update outdated README by @SteveLauC in
pgcentralfoundation#1914
* fix compilation on emscripten by @usamoi in
pgcentralfoundation#1917
* feat: include 'storage/indexfsm.h' by @SteveLauC in
pgcentralfoundation#1912
* refactor: more CStr literals by @SteveLauC in
pgcentralfoundation#1911
* fix segfault with empty `numrange` during `from_datum()` by
@eeeebbbbrrrr in pgcentralfoundation#1918

## New Contributors
* @mrl5 made their first contribution in
pgcentralfoundation#1909

**Full Changelog**:
pgcentralfoundation/pgrx@v0.12.5...v0.12.6

v0.12.5

Toggle v0.12.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update version to 0.12.5 (pgcentralfoundation#1883)

v0.12.4

Toggle v0.12.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update version to 0.12.4 (pgcentralfoundation#1857)