Skip to content

Commit

Permalink
chore: fix the pgrx ci (#108)
Browse files Browse the repository at this point in the history
Signed-off-by: Keming <[email protected]>
  • Loading branch information
kemingy authored Nov 21, 2024
1 parent 641247c commit 9833035
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pgrx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:
cancel-in-progress: true

env:
IMAGE_NAME: "ghcr.io/${{ github.repository }}-pgrx"
IMAGE_NAME: "ghcr.io/tensorchord/vectorchord-pgrx"

permissions:
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/psql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
version: ["14", "15", "16", "17"]
arch: ["x86_64"]
env:
PGRX_IMAGE: "kemingy/pgrx:0.12.8"
PGRX_IMAGE: "ghcr.io/tensorchord/vectorchord-pgrx:0.12.8"
SQLLOGICTEST: "0.22.0"

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
version: ["14", "15", "16", "17"]
arch: ["x86_64", "aarch64"]
env:
PGRX_IMAGE: "kemingy/pgrx:0.12.8"
PGRX_IMAGE: "ghcr.io/tensorchord/vectorchord-pgrx:0.12.8"
SEMVER: ${{ needs.semver.outputs.SEMVER }}

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
matrix:
arch: ["x86_64", "aarch64"]
env:
PGRX_IMAGE: "kemingy/pgrx:0.12.8"
PGRX_IMAGE: "ghcr.io/tensorchord/vectorchord-pgrx:0.12.8"

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions src/datatype/memory_pgvector_vector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ pub enum PgvectorVectorInput<'a> {
Borrowed(&'a PgvectorVectorHeader),
}

impl<'a> PgvectorVectorInput<'a> {
impl PgvectorVectorInput<'_> {
unsafe fn new(p: NonNull<PgvectorVectorHeader>) -> Self {
let q = unsafe {
NonNull::new(pgrx::pg_sys::pg_detoast_datum(p.cast().as_ptr()).cast()).unwrap()
Expand Down Expand Up @@ -124,7 +124,7 @@ impl Drop for PgvectorVectorOutput {
}
}

impl<'a> FromDatum for PgvectorVectorInput<'a> {
impl FromDatum for PgvectorVectorInput<'_> {
unsafe fn from_polymorphic_datum(datum: Datum, is_null: bool, _typoid: Oid) -> Option<Self> {
if is_null {
None
Expand Down
2 changes: 1 addition & 1 deletion src/vchordrq/algorithm/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ impl<'a, T> Tape<'a, T> {
}
}

impl<'a, T> Tape<'a, T>
impl<T> Tape<'_, T>
where
T: rkyv::Serialize<AllocSerializer<8192>>,
{
Expand Down
2 changes: 1 addition & 1 deletion src/vchordrqfscan/algorithm/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ impl<'a, T> Tape<'a, T> {
}
}

impl<'a, T> Tape<'a, T>
impl<T> Tape<'_, T>
where
T: rkyv::Serialize<AllocSerializer<8192>>,
{
Expand Down

0 comments on commit 9833035

Please sign in to comment.