Properly copy fmgroids.h after clean on Win32

Craig Ringer
This commit is contained in:
Magnus Hagander 2012-12-16 14:56:51 +01:00
parent c2e32d5a6c
commit c1f856a17f
1 changed files with 3 additions and 0 deletions

View File

@ -275,6 +275,9 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY
system(
"perl -I ../catalog Gen_fmgrtab.pl ../../../src/include/catalog/pg_proc.h");
chdir('..\..\..');
}
if (IsNewer('src\include\utils\fmgroids.h', 'src\backend\utils\fmgroids.h'))
{
copyFile('src\backend\utils\fmgroids.h',
'src\include\utils\fmgroids.h');
}