Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 320c7eb

Browse files
committed
Oops, make the MSVC build put fmgroids.h where it needs to be.
Per buildfarm results.
1 parent 815aa2c commit 320c7eb

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/tools/msvc/Solution.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package Solution;
33
#
44
# Package that encapsulates a Visual C++ solution file generation
55
#
6-
# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.42 2008/06/23 17:54:30 tgl Exp $
6+
# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.43 2008/06/24 01:15:36 tgl Exp $
77
#
88
use Carp;
99
use strict;
@@ -204,6 +204,7 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY
204204
chdir('src\backend\utils');
205205
system("perl Gen_fmgrtab.pl ../../../src/include/catalog/pg_proc.h");
206206
chdir('..\..\..');
207+
copyFile('src\backend\utils\fmgroids.h','src\include\utils\fmgroids.h');
207208
}
208209

209210
if (IsNewer('src\include\utils\probes.h','src\backend\utils\pg_trace.d'))

src/tools/msvc/clean.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@echo off
2-
REM $PostgreSQL: pgsql/src/tools/msvc/clean.bat,v 1.11 2008/05/30 00:04:32 tgl Exp $
2+
REM $PostgreSQL: pgsql/src/tools/msvc/clean.bat,v 1.12 2008/06/24 01:15:36 tgl Exp $
33

44
set DIST=0
55
if "%1"=="dist" set DIST=1
@@ -21,6 +21,7 @@ if exist src\include\pg_config_os.h del /q src\include\pg_config_os.h
2121
if %DIST%==1 if exist src\backend\parser\parse.h del /q src\backend\parser\parse.h
2222
if exist src\include\utils\fmgroids.h del /q src\include\utils\fmgroids.h
2323

24+
if exist src\backend\utils\fmgroids.h del /q src\backend\utils\fmgroids.h
2425
if exist src\backend\utils\fmgrtab.c del /q src\backend\utils\fmgrtab.c
2526
if exist src\backend\catalog\postgres.bki del /q src\backend\catalog\postgres.bki
2627
if exist src\backend\catalog\postgres.description del /q src\backend\catalog\postgres.description

0 commit comments

Comments
 (0)