diff options
| author | Tom Lane | 2018-04-08 17:59:52 +0000 |
|---|---|---|
| committer | Tom Lane | 2018-04-08 17:59:52 +0000 |
| commit | 9c0a0de4c91b2dc911220d769cf2c5f754cfcb90 (patch) | |
| tree | 89914351156e63b0776cbb8efe312fd4a49be0b7 /src/test/modules | |
| parent | 372728b0d49552641f0ea83d9d2e08817de038fa (diff) | |
Switch client-side code to include catalog/pg_foo_d.h not pg_foo.h.
Everything of use to frontend code should now appear in the _d.h files,
and making this change frees us from needing to worry about whether the
catalog header files proper are frontend-safe.
Remove src/interfaces/ecpg/ecpglib/pg_type.h entirely, as the previous
commit reduced it to a confusingly-named wrapper around pg_type_d.h.
In passing, make test_rls_hooks.c follow project convention of including
our own files with #include "" not <>.
Discussion: https://postgr.es/m/23690.1523031777@sss.pgh.pa.us
Diffstat (limited to 'src/test/modules')
| -rw-r--r-- | src/test/modules/test_rls_hooks/test_rls_hooks.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/test/modules/test_rls_hooks/test_rls_hooks.c b/src/test/modules/test_rls_hooks/test_rls_hooks.c index 3e6cedf2bb3..cab67a60aa9 100644 --- a/src/test/modules/test_rls_hooks/test_rls_hooks.c +++ b/src/test/modules/test_rls_hooks/test_rls_hooks.c @@ -18,16 +18,16 @@ #include "test_rls_hooks.h" -#include <catalog/pg_type.h> -#include <nodes/makefuncs.h> -#include <nodes/makefuncs.h> -#include <parser/parse_clause.h> -#include <parser/parse_node.h> -#include <parser/parse_relation.h> -#include <rewrite/rowsecurity.h> -#include <utils/acl.h> -#include <utils/rel.h> -#include <utils/relcache.h> +#include "catalog/pg_type.h" +#include "nodes/makefuncs.h" +#include "nodes/makefuncs.h" +#include "parser/parse_clause.h" +#include "parser/parse_node.h" +#include "parser/parse_relation.h" +#include "rewrite/rowsecurity.h" +#include "utils/acl.h" +#include "utils/rel.h" +#include "utils/relcache.h" PG_MODULE_MAGIC; |
