Commit
8b94dab066 in PostgreSQL 13dev split tuptoaster.c into three separate
files and removed tuptoaster.h. This commit makes bigm_gin.c include
tuptoaster.h only in PostgreSQL 12 or before.
This commit is necessary for pg_bigm to work with PostgreSQL 13 or later.
#include "access/relation.h"
#endif
#include "access/skey.h"
+#if PG_VERSION_NUM < 130000
#include "access/tuptoaster.h"
+#endif
#include "access/xlog.h"
#if PG_VERSION_NUM > 90500
#include "catalog/pg_am.h"