Skip to content

Commit 453d70f

Browse files
committed
Include src/port while building postgres_fdw on Windows.
Our hack with COPY FROM required to include libpq-int.h in connection.c which in turn includes "pthread-win32.h", which rests in src/port and was not searched for headers. Now include it explicitly.
1 parent c5ff357 commit 453d70f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tools/msvc/Mkvcbuild.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ my @contrib_uselibpq = ('dblink', 'oid2name', 'postgres_fdw', 'vacuumlo');
3535
my @contrib_uselibpgport = ('oid2name', 'pg_standby', 'vacuumlo');
3636
my @contrib_uselibpgcommon = ('oid2name', 'pg_standby', 'vacuumlo');
3737
my $contrib_extralibs = undef;
38-
my $contrib_extraincludes = { 'dblink' => ['src/backend'] };
38+
my $contrib_extraincludes = { 'dblink' => ['src/backend'],
39+
'postgres_fdw' => ['src/port']};
3940
my $contrib_extrasource = {
4041
'cube' => [ 'contrib/cube/cubescan.l', 'contrib/cube/cubeparse.y' ],
4142
'seg' => [ 'contrib/seg/segscan.l', 'contrib/seg/segparse.y' ], };

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