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@xxxxxxxxx> 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. Is there any psql function/command to add a description field to a table or view definition in the system? Would be nice to have a one line general text note capability to quickly see what a complicated view does when looking at the defintion via > # \dv+ > > Looks like the command has the field present, but not sure how to populate it. > > am using PostgreSQL 13.xx in Debian. > >