On Thursday, July 27, 2023, Asier Lostalé <asier(dot)lostale(at)openbravo(dot)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.