Skip to content

Commit

Permalink
Remove superfluous includes
Browse files Browse the repository at this point in the history
rel.h includes pg_class.h, index.h, and relcache.h. logical.h includes
output_plugin.h. All of the others are not necessary.
  • Loading branch information
Euler Taveira committed Oct 22, 2017
1 parent dc75112 commit cbbdda9
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions wal2json.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,16 @@
*/
#include "postgres.h"

#include "access/sysattr.h"

#include "catalog/pg_class.h"
#include "catalog/pg_type.h"
#include "catalog/index.h"

#include "nodes/parsenodes.h"

#include "replication/output_plugin.h"
#include "replication/logical.h"
#if PG_VERSION_NUM >= 90600
#include "replication/message.h"
#endif

#include "utils/builtins.h"
#include "utils/lsyscache.h"
#include "utils/memutils.h"
#include "utils/pg_lsn.h"
#include "utils/rel.h"
#include "utils/relcache.h"
#include "utils/syscache.h"
#include "utils/typcache.h"

PG_MODULE_MAGIC;

Expand Down

0 comments on commit cbbdda9

Please sign in to comment.