> On Jan 7, 2021, at 08:19, Markhof, Ingolf <ingolf.markhof@xxxxxxxxxxxxxx> wrote: > I want the SLQ code of my views stored as I entered it. Is there any way to achieve this? Or will I be forced to maintain my views SQL code outside of PostgreSQL views? The text that you get back from the PostgreSQL system catalogs is based on the parsed version of the view definition, rather than the literal text you entered. Generally, you maintain your view definition separately in a source code control system in its original form. -- -- Christophe Pettus xof@xxxxxxxxxxxx