diff options
author | Andres Freund <andres@anarazel.de> | 2022-05-12 09:20:36 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2022-05-12 12:39:33 -0700 |
commit | 0699b1ae2d8e7b8763a2019d9cd651ab55521779 (patch) | |
tree | aef50e2c1a2cdae3a0133d85603459f0ebd9bc1c /src | |
parent | 09cd33f47bb32f904c32b5aabe607a5125159cc4 (diff) | |
download | postgresql-0699b1ae2d8e7b8763a2019d9cd651ab55521779.tar.gz postgresql-0699b1ae2d8e7b8763a2019d9cd651ab55521779.zip |
Add missing binary_upgrade.h includes.
A few places used binary_upgrade_* variables without including the header,
which worked without warnings because the variables are defined in those
places. However that can cause linker complaints with MSVC - except that we
don't see them right now, due to the use of a symbol export file.
Discussion: https://postgr.es/m/20220512164513.vaheofqp2q24l65r@alap3.anarazel.de
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/catalog/heap.c | 1 | ||||
-rw-r--r-- | src/backend/commands/tablespace.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/backend/catalog/heap.c b/src/backend/catalog/heap.c index 800f85ed7db..1803194db94 100644 --- a/src/backend/catalog/heap.c +++ b/src/backend/catalog/heap.c @@ -34,6 +34,7 @@ #include "access/relation.h" #include "access/table.h" #include "access/tableam.h" +#include "catalog/binary_upgrade.h" #include "catalog/catalog.h" #include "catalog/heap.h" #include "catalog/index.h" diff --git a/src/backend/commands/tablespace.c b/src/backend/commands/tablespace.c index 690f05f6620..00ca397fe88 100644 --- a/src/backend/commands/tablespace.c +++ b/src/backend/commands/tablespace.c @@ -58,6 +58,7 @@ #include "access/xact.h" #include "access/xloginsert.h" #include "access/xlogutils.h" +#include "catalog/binary_upgrade.h" #include "catalog/catalog.h" #include "catalog/dependency.h" #include "catalog/indexing.h" |