mirror of
https://github.com/hanzoai/sql-vector.git
synced 2026-10-01 00:37:19 +00:00
Improved warning check [skip ci]
This commit is contained in:
+1
-1
@@ -223,7 +223,7 @@ hnswcostestimate(PlannerInfo *root, IndexPath *path, double loop_count,
|
||||
static bytea *
|
||||
hnswoptions(Datum reloptions, bool validate)
|
||||
{
|
||||
#if PG_VERSION_NUM >= 180000
|
||||
#if PG_VERSION_NUM >= 180000 && defined(__GNUC__)
|
||||
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
||||
#endif
|
||||
static const relopt_parse_elt tab[] = {
|
||||
|
||||
+1
-1
@@ -151,7 +151,7 @@ ivfflatcostestimate(PlannerInfo *root, IndexPath *path, double loop_count,
|
||||
static bytea *
|
||||
ivfflatoptions(Datum reloptions, bool validate)
|
||||
{
|
||||
#if PG_VERSION_NUM >= 180000
|
||||
#if PG_VERSION_NUM >= 180000 && defined(__GNUC__)
|
||||
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
||||
#endif
|
||||
static const relopt_parse_elt tab[] = {
|
||||
|
||||
Reference in New Issue
Block a user