forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit18954ce
committed
psql: Sprinkle more CppAsString2() in describe.c
Like91f5a4a for pg_amcheck, this makes the code moreself-documented as there is less need to look in the headers what ahardcoded value means. This touches queries related to procedures, AMs,functions, databases, relations, constraints, collations, types andextended stats, pulling into psql their *_d.h headers. The queries arewritten the same way as originally.There are still a couple of hardcoded values. These cannot be includedyet as they are not exposed in headers that are safe to use in frontendcode.Note that describe.c was including pg_am.h that should be used only inbackend code. This is updated to use pg_am_d.h.Reviewed-by: Daniel Gustafsson, Corey HuinkerDiscussion:https://postgr.es/m/Zxb2hpca-pZc6zKe@paquier.xyz1 parent5c9d863 commit18954ce
1 file changed
+98
-57
lines changed0 commit comments
Comments
(0)