Closed ayufan closed 1 year ago
When parsing ALTER INDEX index_name SET (fast_update = true); the pg_query wrongly classifies index_name as a table name.
ALTER INDEX index_name SET (fast_update = true);
pg_query
index_name
Expected output for above is tables = [].
tables = []
This fix is targeted to only ignore OBJECT_INDEX to avoid breaking all other patterns.
OBJECT_INDEX
@lfittl If possible could we push a new release? Of course: I can help out with that :)
@ayufan 4.2.1 is now released!
When parsing
ALTER INDEX index_name SET (fast_update = true);
thepg_query
wrongly classifiesindex_name
as a table name.Expected output for above is
tables = []
.This fix is targeted to only ignore
OBJECT_INDEX
to avoid breaking all other patterns.References: