Revert "Fixed warnings with Postgres 18 [skip ci]"

This reverts commit f903246b35.
This commit is contained in:
Andrew Kane
2025-04-05 12:56:00 -07:00
parent 656301014b
commit c1a7f00523
2 changed files with 0 additions and 6 deletions
-3
View File
@@ -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)},
-3
View File
@@ -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)},
};