On Thursday, July 27, 2023, Asier Lostalé <
asier.lostale@openbravo.com> wrote:
Nevertheless I understand it is very fragile. Is there any way to get the original sql text used to create the view?
Your version control repository should have that. Aside from most function bodies PostgreSQL parses and stores metadata resulting from any SQL you send it.
David J.