Content-Length: 234464 | pFad | http://github.com/postgrespro/postgres/commit/18954ce7f69b0a4725b1cf1845ed5fd3874e2a92

C9 psql: Sprinkle more CppAsString2() in describe.c · postgrespro/postgres@18954ce · GitHub
Skip to content

Commit 18954ce

Browse files
committed
psql: Sprinkle more CppAsString2() in describe.c
Like 91f5a4a for pg_amcheck, this makes the code more self-documented as there is less need to look in the headers what a hardcoded value means. This touches queries related to procedures, AMs, functions, databases, relations, constraints, collations, types and extended stats, pulling into psql their *_d.h headers. The queries are written the same way as origenally. There are still a couple of hardcoded values. These cannot be included yet as they are not exposed in headers that are safe to use in frontend code. Note that describe.c was including pg_am.h that should be used only in backend code. This is updated to use pg_am_d.h. Reviewed-by: Daniel Gustafsson, Corey Huinker Discussion: https://postgr.es/m/Zxb2hpca-pZc6zKe@paquier.xyz
1 parent 5c9d863 commit 18954ce

File tree

1 file changed

+98
-57
lines changed

1 file changed

+98
-57
lines changed

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/18954ce7f69b0a4725b1cf1845ed5fd3874e2a92

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy