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

From Karsten Hilbert
Subject Re: How to keep format of views source code as entered?
Date
Msg-id X/gbWfxz0T7n8gEv@hermes.hilbert.loc
Whole thread Raw
In response to RE: How to keep format of views source code as entered?  ("Markhof, Ingolf" <ingolf.markhof@de.verizon.com>)
Responses Re: How to keep format of views source code as entered?
List pgsql-general
Am Fri, Jan 08, 2021 at 08:38:29AM +0000 schrieb Markhof, Ingolf:

> I am really surprised that PostgreSQL is unable to keep the
> source text of a view. Honestly, for me the looks like an
> implementation gap. Consider software development. You are
> writing code in C++ maybe on a UNIX host. And whenever you
> feed you source code into the compiler, it will delete it,
> keeping the resulting executable, only.

You expect the compiler to keep your source code for you ?

Most certainly, PostgreSQL does not delete your view source
code, just as the compiler does.

I am not so sure that analogy holds up.

Karsten
--
GPG  40BE 5B0E C98E 1713 AFA6  5BC0 3BEA AC80 7D4F C89B



pgsql-general by date:

Previous
From: Andreas Joseph Krogh
Date:
Subject: RE: How to keep format of views source code as entered?
Next
From: 徐閔翊 Jordy Hsu
Date:
Subject: Coding question