> On Jan 7, 2021, at 08:19, Markhof, Ingolf <ingolf.mark...@de.verizon.com> > 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 x...@thebuild.com
- How to keep format of views source code as entered? Markhof, Ingolf
- Re: How to keep format of views source code as ente... Christophe Pettus
- Re: How to keep format of views source code as ente... Tom Lane
- RE: How to keep format of views source code as ente... Markhof, Ingolf
- Re: How to keep format of views source code as ... Christophe Pettus
- Re: How to keep format of views source code as ... raf
- Re: How to keep format of views source code... David G. Johnston
- Re: How to keep format of views source ... Adam Brusselback
- Re: How to keep format of views so... Laurenz Albe
- Re: How to keep format of view... Paul Förster
- Re: How to keep format of views so... David G. Johnston
- Re: How to keep format of views source code as ente... Alex Williams