Harald Fuchs <hari.fuchs@gmail.com> writes:
> Highly interesting. I put an "EXECUTE 'COMMENT ON TABLE ...'" into an
> AFTER INSERT OR UPDATE OR DELETE trigger, and this indeed works. Does
> anyone see a drawback in modifying a table comment very often?
As long as pg_description gets vacuumed or autovacuumed often enough,
it should be no worse than frequent updates in any other table.
regards, tom lane