RefLib

Reference library for AI

Back

postgresql_16:7.1.50.3 Notes

PostgreSQL 16 > Reference > SQL Commands > COMMENT > Notes

There is presently no security mechanism for viewing comments: any user connected to a database can see all the comments for objects in that database. For shared objects such as databases, roles, and tablespaces, comments are stored globally so any user connected to any database in the cluster can see all the comments for shared objects. Therefore, don't put security-critical information in comments.

Back