Hi! I recognize this might be an artifact of the underlying PG libraries, but I wanted to mention it for general reference. Might not be anything to do other than WONTFIX
I notice that parsing a prepared statement, there are no tables flagged as being used:
pry(main)> parsed_query = PgQuery.parse 'PREPARE qux AS SELECT bar from foo'
=> #<PgQuery::ParserResult:0x000000012514f958
pry(main)> parsed_query.tables_with_details
=> []
Hi! I recognize this might be an artifact of the underlying PG libraries, but I wanted to mention it for general reference. Might not be anything to do other than WONTFIX
I notice that parsing a prepared statement, there are no tables flagged as being used: