mirror of
https://github.com/pgvector/pgvector.git
synced 2025-04-18 11:24:01 +03:00
Revert "Fixed warnings with Postgres 18 [skip ci]"
This reverts commit 32e95a8598200788bfc13fb1b9b8284b45f07eda.
This commit is contained in:
parent
35f4f7fc80
commit
e575866297
@ -223,9 +223,6 @@ hnswcostestimate(PlannerInfo *root, IndexPath *path, double loop_count,
|
||||
static bytea *
|
||||
hnswoptions(Datum reloptions, bool validate)
|
||||
{
|
||||
#if PG_VERSION_NUM >= 180000 && defined(__GNUC__)
|
||||
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
||||
#endif
|
||||
static const relopt_parse_elt tab[] = {
|
||||
{"m", RELOPT_TYPE_INT, offsetof(HnswOptions, m)},
|
||||
{"ef_construction", RELOPT_TYPE_INT, offsetof(HnswOptions, efConstruction)},
|
||||
|
@ -151,9 +151,6 @@ ivfflatcostestimate(PlannerInfo *root, IndexPath *path, double loop_count,
|
||||
static bytea *
|
||||
ivfflatoptions(Datum reloptions, bool validate)
|
||||
{
|
||||
#if PG_VERSION_NUM >= 180000 && defined(__GNUC__)
|
||||
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
||||
#endif
|
||||
static const relopt_parse_elt tab[] = {
|
||||
{"lists", RELOPT_TYPE_INT, offsetof(IvfflatOptions, lists)},
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user