mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-28 23:02:43 +08:00
Fixed version check for palloc variants
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
#include "parser/scansup.h"
|
||||
#endif
|
||||
|
||||
#if PG_VERSION_NUM < 160000
|
||||
#if PG_VERSION_NUM < 140600
|
||||
#define palloc_array(type, count) ((type *) palloc(sizeof(type) * (count)))
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user