summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorRobert Haas2011-02-04 14:28:06 +0000
committerRobert Haas2011-02-04 14:29:10 +0000
commit356f2cbbb42811596820c94aaec2e32ad1ec58d8 (patch)
tree807f36eec03106dd756b752c65b67deb80f70793 /src/tools
parentafb6dee1e3b93af05e35873c19c068e8ac7eb74b (diff)
Make handling of errcodes.h more consistent with other generated headers.
This fixes make distprep, and seems more robust in other ways as well. Some special handling is required because errcodes.txt is needed by some stuff in src/port, but just by src/backend as is the case for the other generated headers. While I'm at it, fix a few other things that were overlooked in the original patch.
Diffstat (limited to 'src/tools')
-rwxr-xr-xsrc/tools/msvc/clean.bat1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/msvc/clean.bat b/src/tools/msvc/clean.bat
index 753ab39697e..a59bbe55da9 100755
--- a/src/tools/msvc/clean.bat
+++ b/src/tools/msvc/clean.bat
@@ -20,6 +20,7 @@ REM Delete files created with GenerateFiles() in Solution.pm
if exist src\include\pg_config.h del /q src\include\pg_config.h
if exist src\include\pg_config_os.h del /q src\include\pg_config_os.h
if %DIST%==1 if exist src\backend\parser\gram.h del /q src\backend\parser\gram.h
+if exist src\include\utils\errcodes.h del /q src\include\utils\errcodes.h
if exist src\include\utils\fmgroids.h del /q src\include\utils\fmgroids.h
if exist src\include\utils\probes.h del /q src\include\utils\probes.h