Comment is probably what you’re looking for.
If you don’t want to use that: it’s a database. Make a table. Put whatever information in there that you need.
Either look up by view name, or schema + view name, or oid: https://www.postgresql.org/docs/current/datatype-oid.html
> On Jul 3, 2024, at 12:28, Kent Dorfman <kent.dorfman766@gmail.com> wrote:
>
> I think I already know the answer but asking here is probably quicker turnaround than researching it.
>
> I've gotten into a "view bloat" scenario with many many custom views that I cannot remember what they actually do.
Isthere any psql function/command to add a description field to a table or view definition in the system? Would be
niceto have a one line general text note capability to quickly see what a complicated view does when looking at the
defintionvia
> # \dv+
>
> Looks like the command has the field present, but not sure how to populate it.
>
> am using PostgreSQL 13.xx in Debian.
>
>