diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 6dbda9a..44187ce 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -59,7 +59,7 @@ jobs: lint: strategy: matrix: - version: ["14", "15", "16", "17"] + version: ["13", "14", "15", "16", "17"] arch: ["x86_64", "aarch64"] runs-on: ${{ matrix.arch == 'x86_64' && 'ubuntu-24.04' || 'ubuntu-24.04-arm' }} diff --git a/src/lib.rs b/src/lib.rs index a44637e..e868554 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -11,8 +11,14 @@ pub mod utils; #[cfg(not(all(target_endian = "little", target_pointer_width = "64")))] compile_error!("Target is not supported."); -#[cfg(not(any(feature = "pg14", feature = "pg15", feature = "pg16", feature = "pg17")))] -compiler_error!("PostgreSQL version must be selected."); +#[cfg(not(any( + feature = "pg13", + feature = "pg14", + feature = "pg15", + feature = "pg16", + feature = "pg17" +)))] +compile_error!("PostgreSQL version must be selected."); #[pgrx::pg_guard] extern "C-unwind" fn _PG_init() {