Skip to content

Commit b93f5a5

Browse files
committed
Move Trigger and TriggerDesc structs out of rel.h into a new reltrigger.h
This lets us stop including rel.h into execnodes.h, which is a widely used header.
1 parent d665162 commit b93f5a5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+144
-65
lines changed

contrib/dblink/dblink.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
#include "utils/hsearch.h"
6464
#include "utils/lsyscache.h"
6565
#include "utils/memutils.h"
66+
#include "utils/rel.h"
6667
#include "utils/syscache.h"
6768
#include "utils/tqual.h"
6869

contrib/file_fdw/file_fdw.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include "foreign/foreign.h"
2525
#include "miscadmin.h"
2626
#include "optimizer/cost.h"
27+
#include "utils/rel.h"
2728

2829
PG_MODULE_MAGIC;
2930

contrib/lo/lo.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,12 @@
77

88
#include "postgres.h"
99

10-
/* Required for SPI */
10+
#include "commands/trigger.h"
1111
#include "executor/spi.h"
12-
13-
/* Required for largeobjects */
1412
#include "libpq/be-fsstubs.h"
1513
#include "libpq/libpq-fs.h"
14+
#include "utils/rel.h"
1615

17-
/* Required for triggers */
18-
#include "commands/trigger.h"
1916

2017
PG_MODULE_MAGIC;
2118

contrib/pageinspect/btreefuncs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
#include "miscadmin.h"
3636
#include "storage/bufmgr.h"
3737
#include "utils/builtins.h"
38+
#include "utils/rel.h"
3839

3940

4041
extern Datum bt_metap(PG_FUNCTION_ARGS);

contrib/pageinspect/rawpage.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include "miscadmin.h"
2626
#include "storage/bufmgr.h"
2727
#include "utils/builtins.h"
28+
#include "utils/rel.h"
2829

2930
PG_MODULE_MAGIC;
3031

contrib/pgrowlocks/pgrowlocks.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
#include "storage/procarray.h"
3636
#include "utils/acl.h"
3737
#include "utils/builtins.h"
38+
#include "utils/rel.h"
3839
#include "utils/tqual.h"
3940

4041

contrib/pgstattuple/pgstatindex.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
#include "miscadmin.h"
3535
#include "storage/bufmgr.h"
3636
#include "utils/builtins.h"
37+
#include "utils/rel.h"
3738

3839

3940
extern Datum pgstatindex(PG_FUNCTION_ARGS);

contrib/spi/autoinc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include "commands/trigger.h"
99
#include "executor/spi.h"
1010
#include "utils/builtins.h"
11+
#include "utils/rel.h"
1112

1213
PG_MODULE_MAGIC;
1314

contrib/spi/insert_username.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include "executor/spi.h"
1414
#include "miscadmin.h"
1515
#include "utils/builtins.h"
16+
#include "utils/rel.h"
1617

1718
PG_MODULE_MAGIC;
1819

contrib/spi/moddatetime.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ OH, me, I'm Terry Mackintosh <terry@terrym.com>
1818
#include "catalog/pg_type.h"
1919
#include "executor/spi.h"
2020
#include "commands/trigger.h"
21+
#include "utils/rel.h"
2122

2223
PG_MODULE_MAGIC;
2324

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy