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