Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tensorchord/pgrx
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.12.9
Choose a base ref
...
head repository: tensorchord/pgrx
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Oct 27, 2024

  1. Copy the full SHA
    77c6961 View commit details
  2. use allowlist_file for bindgen (pgcentralfoundation#1922)

    Some platform definitions make bindgen unhappy (pgcentralfoundation#1882,
    rust-lang/rust-bindgen#2803 when compiling for
    x86_64-windows-msvc, `serialization error at builtin definitions: Cannot
    serialize type kind Opaque` when compiling for x86_64-windows-gnu on my
    machine), and `allowlist_file` could ensure that it does not happen.
    usamoi authored Oct 27, 2024
    Copy the full SHA
    039c24f View commit details

Commits on Oct 28, 2024

  1. Copy the full SHA
    ae0335b View commit details

Commits on Oct 29, 2024

  1. add pg_config --libdir to linker search path (pgcentralfoundation#1932

    )
    
    On Windows, the linker needs `postgres.lib` to link against. So add
    `pg_config --libdir` to linker search path.
    usamoi authored Oct 29, 2024
    Copy the full SHA
    7969a47 View commit details

Commits on Nov 2, 2024

  1. fix a deadlock in cargo pgrx install during get_git_hash() (pgcen…

    …tralfoundation#1935)
    
    I can't quite explain why, but this function was deadlocking with this
    backtrace:
    
    ```
    * thread pgcentralfoundation#1, name = 'cargo-pgrx', stop reason = signal SIGSTOP
      * frame #0: 0x00007fbe1eeb288d libc.so.6`syscall at syscall.S:38
        frame pgcentralfoundation#1: 0x000055aee526c5d3 cargo-pgrx`std::sys::sync::mutex::futex::Mutex::lock_contended::h6389e2305b0b005c [inlined] std::sys::pal::unix::futex::futex_wait::h30abf43e2d55aa33 at futex.rs:67:21
        frame pgcentralfoundation#2: 0x000055aee526c590 cargo-pgrx`std::sys::sync::mutex::futex::Mutex::lock_contended::h6389e2305b0b005c at futex.rs:57:13
        frame pgcentralfoundation#3: 0x000055aee4157835 cargo-pgrx`std::sync::mutex::Mutex$LT$T$GT$::lock::h4d2bb65800cc6fd3 at futex.rs:29:13
        frame pgcentralfoundation#4: 0x000055aee41577ed cargo-pgrx`std::sync::mutex::Mutex$LT$T$GT$::lock::h4d2bb65800cc6fd3(self=0x000055aee6926c20) at mutex.rs:317:24
        frame pgcentralfoundation#5: 0x000055aee406c779 cargo-pgrx`cargo_pgrx::command::install::get_git_hash::ha84d504db9d1bba8(manifest_path=0x00007ffdc43b83b0) at install.rs:507:9
        frame pgcentralfoundation#6: 0x000055aee406d6e9 cargo-pgrx`cargo_pgrx::command::install::filter_contents::h8c710847129ba6be(manifest_path=0x00007ffdc43b8d10, input=String @ 0x00007ffdc43b8940) at install.rs:541:46
    ```
    eeeebbbbrrrr authored Nov 2, 2024
    Copy the full SHA
    7de7210 View commit details
  2. Copy the full SHA
    2409ce2 View commit details
  3. exit early on errors

    eeeebbbbrrrr committed Nov 2, 2024
    Copy the full SHA
    8048ab3 View commit details

Commits on Nov 9, 2024

  1. lock patch version of pgrx-bindgen (pgcentralfoundation#1939)

    The typo makes my extension using v0.12.7 pulling pgrx-bindgen v0.12.8.
    usamoi authored Nov 9, 2024
    Copy the full SHA
    7b68a18 View commit details

Commits on Nov 13, 2024

  1. Allow creating Oid from a u32 in a const context (pgcentralfoundation…

    …#1943)
    
    This adds a `const fn` to create an `Oid` from a `u32`.
    `Oid::from_u32_unchecked` is the only way to do that currently, but it's
    deprecated and its successor `From::from` is non-const.
    syvb authored Nov 13, 2024
    Copy the full SHA
    6c9a85f View commit details

Commits on Nov 15, 2024

  1. Copy the full SHA
    68c4970 View commit details

Commits on Nov 19, 2024

  1. Add utils/acl.h (pgcentralfoundation#1945)

    Add useful ACL management functions
    daamien authored Nov 19, 2024
    Copy the full SHA
    6129d66 View commit details

Commits on Nov 20, 2024

  1. fix warnings (pgcentralfoundation#1948)

    1. `unexpected_cfgs` warnings are emitted for extension crates by latest
    nightly rustc, and it's annoying (`pgrx_embed` in `pgrx_embed`, and
    `Pg_magic_func` if extension does not support all postgres major
    versions)
    2. `PanicInfo` warnings are emitted by latest stable rustc while using
    local pgrx as a patch
    3. `static_mut_refs` warnings are emitted by latest nightly rustc while
    using local pgrx as a patch
    usamoi authored Nov 20, 2024
    Copy the full SHA
    49227e7 View commit details
  2. Add catalog/catalog.h (pgcentralfoundation#1946)

    Useful functions for catalog naming conventions and other hard-wired
    knowledge
    daamien authored Nov 20, 2024
    Copy the full SHA
    1efdfee View commit details
  3. Check wakeup_flags from wait_latch function to exit on `WL_POSTMAST…

    …ER_DEATH` (pgcentralfoundation#1938)
    
    There are some cases when the `wait_latch` loop in background worker is
    not being interrupted after the postmaster was exited.
    
    It can be reproduced by running postgres directly using
    `/opt/homebrew/opt/postgresql@17/bin/postgres -D
    /opt/homebrew/var/postgresql@17` and after the background worker will be
    started you will need to send `SIGKILL` to the postmaster process. (the
    issue is not reproducible when managing postgres via `pg_ctl`, I have
    encountered this issue during local development as homebrew service runs
    postgres directly using `postgres` binary)
    
    Then you can see that the postgres will be exited, but background worker
    process will remain active.
    
    > Make sure the WL_POSTMASTER_DEATH flag is set when calling that
    function, and verify the return code for a prompt exit in the emergency
    case that postgres itself has terminated.
    
    (see pgcentralfoundation#1938 for an example)
    var77 authored Nov 20, 2024
    Copy the full SHA
    7ca80af View commit details
  4. Changed args of prepare methods to be slices (pgcentralfoundation#1933)

    Since there's an opportunity to break more things for `0.13` I decided
    to improve the `prepare` and `prepare_mut` methods as well. The
    motivation for that is the same as for pgcentralfoundation#1858, `&[]` requires no heap
    allocations on the heap if there's a fixed set of arguments.
    YohDeadfall authored Nov 20, 2024
    Copy the full SHA
    c1e5dd9 View commit details

Commits on Nov 21, 2024

  1. Updating readme.me (pgcentralfoundation#1949)

    Updating readme for financial donations as well as encouraging people to
    join the Discord server
    ChronicallyJD authored Nov 21, 2024
    Copy the full SHA
    f1da6d9 View commit details

Commits on Nov 22, 2024

  1. Introduce a blocklist of "yanked" Postgres versions (pgcentralfoundat…

    …ion#1950)
    
    Due to the out-of-band release set described here:
    https://www.postgresql.org/about/news/postgresql-172-166-1510-1415-1318-and-1222-released-2965/,
    we should refuse to compile on the prior point releases mentioned in
    this press release.
    eeeebbbbrrrr authored Nov 22, 2024
    Copy the full SHA
    a0ecc8f View commit details

Commits on Nov 25, 2024

  1. Added oids_of! macro (pgcentralfoundation#1879)

    That's an improvement for SPI making it less cumbersome. Just to feel
    the difference look at the tests. Who would really want to write
    something like `PgBuiltInOids::INT4OID.oid()` instead of just telling a
    Rust type?
    YohDeadfall authored Nov 25, 2024
    Copy the full SHA
    eda7549 View commit details

Commits on Dec 9, 2024

  1. Copy the full SHA
    1f1dda3 View commit details
  2. Copy the full SHA
    41516d7 View commit details
  3. ui test is broken too

    usamoi committed Dec 9, 2024
    Copy the full SHA
    56af59f View commit details

Commits on Dec 22, 2024

  1. use musl for linux build

    usamoi committed Dec 22, 2024
    Copy the full SHA
    4141830 View commit details
  2. add target in upload-release

    usamoi committed Dec 22, 2024
    Copy the full SHA
    d4bfc4b View commit details
  3. install musl in upload-release

    usamoi committed Dec 22, 2024
    Copy the full SHA
    5b80a47 View commit details

Commits on Feb 11, 2025

  1. Copy the full SHA
    5b87eca View commit details
Loading