mirror of https://github.com/postgres/postgres
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.uspull/27/merge
parent
372728b0d4
commit
9c0a0de4c9
@ -1,18 +0,0 @@ |
|||||||
/*-------------------------------------------------------------------------
|
|
||||||
* |
|
||||||
* pg_type.h |
|
||||||
* Interface to generated type OID symbols. |
|
||||||
* |
|
||||||
* Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group |
|
||||||
* Portions Copyright (c) 1994, Regents of the University of California |
|
||||||
* |
|
||||||
* src/interfaces/ecpg/ecpglib/pg_type.h |
|
||||||
* |
|
||||||
*------------------------------------------------------------------------- |
|
||||||
*/ |
|
||||||
#ifndef PG_TYPE_H |
|
||||||
#define PG_TYPE_H |
|
||||||
|
|
||||||
#include "catalog/pg_type_d.h" |
|
||||||
|
|
||||||
#endif /* PG_TYPE_H */ |
|
Loading…
Reference in new issue