diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2024-12-24 11:48:08 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2024-12-24 11:49:07 +0100 |
commit | 1eb7cb21c2a2c9091bc4cdf09d37d68559af8a7d (patch) | |
tree | 8fe692d050cca2c65f8eb70c1966cc9a37967687 /src/include/common | |
parent | 6f3820f37aba94232468365bae7ba5de697fe993 (diff) | |
download | postgresql-1eb7cb21c2a2c9091bc4cdf09d37d68559af8a7d.tar.gz postgresql-1eb7cb21c2a2c9091bc4cdf09d37d68559af8a7d.zip |
Remove pgrminclude annotations
Per git log, the last time someone tried to do something with
pgrminclude was around 2011. Many (not all) of the "pgrminclude
ignore" annotations are of a newer date but seem to have just been
copied around during refactorings and file moves and don't seem to
reflect an actual need anymore.
There have been some parallel experiments with include-what-you-use
(IWYU) annotations, but these don't seem to correspond very strongly
to pgrminclude annotations, so there is no value in keeping the
existing ones even for that kind of thing.
So, wipe them all away. We can always add new ones in the future
based on actual needs.
Discussion: https://www.postgresql.org/message-id/flat/2d4dc7b2-cb2e-49b1-b8ca-ba5f7024f05b%40eisentraut.org
Diffstat (limited to 'src/include/common')
-rw-r--r-- | src/include/common/ip.h | 2 | ||||
-rw-r--r-- | src/include/common/relpath.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/include/common/ip.h b/src/include/common/ip.h index 5648b6e5221..c8da1b316a4 100644 --- a/src/include/common/ip.h +++ b/src/include/common/ip.h @@ -17,7 +17,7 @@ #include <netdb.h> #include <sys/socket.h> -#include "libpq/pqcomm.h" /* pgrminclude ignore */ +#include "libpq/pqcomm.h" extern int pg_getaddrinfo_all(const char *hostname, const char *servname, diff --git a/src/include/common/relpath.h b/src/include/common/relpath.h index 2dabbe01ecd..a267f67b446 100644 --- a/src/include/common/relpath.h +++ b/src/include/common/relpath.h @@ -14,10 +14,10 @@ #define RELPATH_H /* - * 'pgrminclude ignore' needed here because CppAsString2() does not throw - * an error if the symbol is not defined. + * Required here; note that CppAsString2() does not throw an error if the + * symbol is not defined. */ -#include "catalog/catversion.h" /* pgrminclude ignore */ +#include "catalog/catversion.h" /* * RelFileNumber data type identifies the specific relation file name. |