diff --git a/src/storage/postgres_index.cpp b/src/storage/postgres_index.cpp index acacc7c36..3b8bfcb63 100644 --- a/src/storage/postgres_index.cpp +++ b/src/storage/postgres_index.cpp @@ -72,6 +72,11 @@ class LogicalPostgresCreateIndex : public LogicalExtensionOperator { return planner.Make(std::move(info), table); } + // Optimizer hooks of other extensions call this on every extension operator; the default throws. + string GetExtensionName() const override { + return "postgres_scanner"; + } + void Serialize(Serializer &serializer) const override { throw NotImplementedException("Cannot serialize Postgres Create index"); }