Re: How to keep format of views source code as entered? - Mailing list pgsql-general

From Adam Brusselback
Subject Re: How to keep format of views source code as entered?
Date
Msg-id CAMjNa7dOD93jbf-zBohFUu=R6s=Qez-KrEMnH8tqmgL4ZA+Z7Q@mail.gmail.com
Whole thread Raw
In response to Re: How to keep format of views source code as entered?  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: How to keep format of views source code as entered?  (Laurenz Albe <laurenz.albe@cybertec.at>)
Re: How to keep format of views source code as entered?  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-general
> Admittedly, the system probably should be made to save the text, should someone wish to write such a patch.

Just wanted to throw $0.02 behind this idea if anyone does want to take it up later. Using a source control system is better obviously. But even if you use source control it is still incredibly annoying you cannot compare the view you have in source control to the view definition in PG and tell if it's the same or changed. It has been a major annoyance for views with complex subqueries or where clauses, the PG representation is absolutely unreadable.

-Adam

pgsql-general by date:

Previous
From: Markur Sens
Date:
Subject: Docker Image with Python support ?
Next
From: Laurenz Albe
Date:
Subject: Re: How to keep format of views source code as entered?