Hello, > On Jan 7, 2021, at 09:33, Markhof, Ingolf <ingolf.markhof@xxxxxxxxxxxxxx> wrote: > > So, it looks like PostgreSQL does support saving the original source code of a view. To be clear, PostgreSQL itself does not. The suggestion is to use an external source code repository, such as GitHub, GitLab, or one of (many!) other tools or products to store the view definition. This has benefits besides just retaining the original source code, as you mention below: Version control, tracking, issue management and commit merging, etc. -- -- Christophe Pettus xof@xxxxxxxxxxxx