Open Vonng opened 1 month ago
I was able to resolve the compilation issue for PostgreSQL 16 and 17 by including the varatt.h
header.
It seems that the required definitions for varatt.h
have been modified or added in these newer PostgreSQL versions. By explicitly including this header, the compiler can find the necessary declarations and successfully build the extension.
To implement this solution:
#include "varatt.h"
Recompile the extension: Rebuild your extension using the updated source files.
Additional considerations:
#ifdef
and #endif
) to include varatt.h
only when compiling for PostgreSQL 16 or 17.varatt.h
header file. This might involve setting appropriate include paths.
Fail to build against PostgreSQL 16/17