Rewrite comment code for better modularity, and add necessary locking.
Robert Haas <rhaas@postgresql.org>
Rewrite comment code for better modularity, and add necessary locking. Review by Alvaro Herrera, KaiGai Kohei, and Tom Lane.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/Makefile | modified | +5 −4 |
| src/backend/catalog/objectaddress.c | added | +654 −0 |
| src/backend/commands/comment.c | modified | +135 −808 |
| src/include/catalog/dependency.h | modified | +2 −12 |
| src/include/catalog/objectaddress.h | added | +33 −0 |