Re: BUG #18038: Aliases removed from view definitions

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Asier Lostalé <asier(dot)lostale(at)openbravo(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #18038: Aliases removed from view definitions
Date: 2023-07-28 05:45:41
Message-ID: CAKFQuwZOr76aY+hUXKZSzY2g7BEyNBmKFOYW78E13otJYi0uVQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Laurenz Albe 2023-07-28 06:22:51 Re: BUG #18038: Aliases removed from view definitions
Previous Message jian he 2023-07-28 05:34:07 Re: Question about double table scans for a table