I'm using Postgres 13 & recently dropped a table with cascade on to drop all indexes, etc.
It turns out we had an old view that was tied to that table, and we need to recover the view or at least recover the query in the view to use it on a new table we are going to create.
Is it possible to recover the SQL text or do a flashback like oracle has but in Postgres?
git
) where all your code is storedvim
to find theCREATE VIEW
statement.