From: tbussmann (@tbussmann) <noreply+tbussmann@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: [pgvector/pgvector] issue #779: PostgreSQL 18 support
Date: Tue, 18 Feb 2025 00:20:27 +0000
Message-ID: <gh-pgvector-pgvector-779@github.com> (raw)
Error when building against PostgreSQL git master:
```
src/hnswvacuum.c:52:22: error: too few arguments to function call, single argument 'is_analyze' was not specified
vacuum_delay_point();
~~~~~~~~~~~~~~~~~~ ^
/Applications/Postgres.app/Contents/Versions/devel/include/postgresql/server/commands/vacuum.h:362:13: note: 'vacuum_delay_point' declared here
extern void vacuum_delay_point(bool is_analyze);
^
src/hnswvacuum.c:348:22: error: too few arguments to function call, single argument 'is_analyze' was not specified
vacuum_delay_point();
~~~~~~~~~~~~~~~~~~ ^
/Applications/Postgres.app/Contents/Versions/devel/include/postgresql/server/commands/vacuum.h:362:13: note: 'vacuum_delay_point' declared here
extern void vacuum_delay_point(bool is_analyze);
^
src/hnswvacuum.c:460:22: error: too few arguments to function call, single argument 'is_analyze' was not specified
vacuum_delay_point();
~~~~~~~~~~~~~~~~~~ ^
/Applications/Postgres.app/Contents/Versions/devel/include/postgresql/server/commands/vacuum.h:362:13: note: 'vacuum_delay_point' declared here
extern void vacuum_delay_point(bool is_analyze);
^
```
This apparently needs adjustments to cope with [e5b0b0c](https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=e5b0b0ce150972bf162a059430d84e5f8e07c...) by passing a value for `is_analyze`.