diff --git a/.github/workflows/build_and_test.yaml b/.github/workflows/build_and_test.yaml index 8d0efa41..af8ca0ed 100644 --- a/.github/workflows/build_and_test.yaml +++ b/.github/workflows/build_and_test.yaml @@ -19,8 +19,8 @@ jobs: with: python-version: "3.11" - - name: Install clang-format (11.0.1) and ruff - run: python3 -m pip install "clang-format==11.0.1" ruff + - name: Install clang-format and ruff + run: python3 -m pip install -r dev_requirements.txt - name: Run clang-format run: git clang-format refs/remotes/origin/main --diff - name: Run ruff check diff --git a/src/pgduckdb_types.cpp b/src/pgduckdb_types.cpp index 79255354..e1d09ba2 100644 --- a/src/pgduckdb_types.cpp +++ b/src/pgduckdb_types.cpp @@ -205,7 +205,7 @@ ConvertBinaryDatum(const duckdb::Value &value) { auto str = value.GetValueUnsafe(); auto blob_len = str.GetSize(); auto blob = str.GetDataUnsafe(); - bytea* result = (bytea *)palloc0(blob_len + VARHDRSZ); + bytea *result = (bytea *)palloc0(blob_len + VARHDRSZ); SET_VARSIZE(result, blob_len + VARHDRSZ); memcpy(VARDATA(result), blob, blob_len); return PointerGetDatum(result);