| From: | Adam Brusselback <adambrusselback(at)gmail(dot)com> |
|---|---|
| To: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
| Cc: | raf <raf(at)raf(dot)org>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: How to keep format of views source code as entered? |
| Date: | 2021-01-14 01:39:46 |
| Message-ID: | CAMjNa7dOD93jbf-zBohFUu=R6s=Qez-KrEMnH8tqmgL4ZA+Z7Q@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Laurenz Albe | 2021-01-14 03:59:53 | Re: How to keep format of views source code as entered? |
| Previous Message | Markur Sens | 2021-01-13 20:07:37 | Docker Image with Python support ? |