Skip to content

Commit 0699b1a

Browse files
committed
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
1 parent 09cd33f commit 0699b1a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/backend/catalog/heap.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
#include "access/relation.h"
3535
#include "access/table.h"
3636
#include "access/tableam.h"
37+
#include "catalog/binary_upgrade.h"
3738
#include "catalog/catalog.h"
3839
#include "catalog/heap.h"
3940
#include "catalog/index.h"

src/backend/commands/tablespace.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
#include "access/xact.h"
5959
#include "access/xloginsert.h"
6060
#include "access/xlogutils.h"
61+
#include "catalog/binary_upgrade.h"
6162
#include "catalog/catalog.h"
6263
#include "catalog/dependency.h"
6364
#include "catalog/indexing.h"

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