Commit Graph

110 Commits

Author SHA1 Message Date
Andrew Dunstan
c0a8276061 exclude contrib/tsearch2 from regression tests. 2007-09-28 00:14:58 +00:00
Andrew Dunstan
3396d1c695 Turn build and vcregress .bat files into pure one line wrappers for
the perl scripts. Remove the now superfluous getregress.pl.
2007-09-27 21:13:11 +00:00
Tom Lane
314ed5de6d Define the FRONTEND symbol in postgres_fe.h, which allows us to eliminate
duplicative -DFRONTEND flags from many Makefiles.  We still need Makefile
control of the symbol in a few places that compile frontend-or-backend
src/port/ files, but it's a lot cleaner than before.

Hiroshi Saito
2007-09-27 19:53:44 +00:00
Magnus Hagander
149af068ff Properly pass -c parameter to ecpg when building regression tests.
Per Michael.
2007-09-26 11:19:09 +00:00
Andrew Dunstan
e5b5739a2d Use proper search for contrib makefiles in vcregress.pl 2007-09-24 21:42:34 +00:00
Andrew Dunstan
3f2a191b44 fix typo in vcregress.pl 2007-09-24 21:14:54 +00:00
Andrew Dunstan
aabb7000dc Add perl replacements for build.bat and vcregress.bat. In due course
the .bat files will be altered to become tiny wrappers for these scripts,
and one or two other .bat files will disappear.
2007-09-23 21:52:56 +00:00
Andrew Dunstan
a8da5761a3 Restrict overly broad searches, and fix typo, in recent fix. Per Hannes Eder. 2007-09-23 20:32:40 +00:00
Andrew Dunstan
576b8903f7 Replace calls to external dir program with perlish globs and File::Find
calls. Fixes complaint fron Hannes Eder, whose environment found a different
dir program.
2007-09-22 20:38:10 +00:00
Magnus Hagander
6ee3b2dfe4 Install dictionary sample files.
Per buildfarm and Teodor.
2007-09-12 13:58:23 +00:00
Tom Lane
dd4594e332 Fix MSVC build (I think) for recent pg_proc.h column addition.
This business with two independent build systems does kinda suck.
2007-09-03 02:51:47 +00:00
Magnus Hagander
69e86a5daf Exclude tsearch2 contrib tests in regression tests,
pending decision on exactly what will happen with
contrib/tsearch2 now that it's in core.
2007-08-27 12:10:47 +00:00
Magnus Hagander
90d9fc0aa9 Install stopword files 2007-08-27 10:51:15 +00:00
Magnus Hagander
3b1e04c3e9 Fix generation of snowball_create.sql on msvc builds. 2007-08-27 10:29:49 +00:00
Magnus Hagander
b913a94d0a Build snowball DLL for tsearch-in-core.
(Still needs to build the .sql output files, but this handles the C part
of the build)
2007-08-21 15:10:41 +00:00
Magnus Hagander
dff6797ce5 Disable warning 4090 = different const qualifiers on msvc since it
warns about things that aren't wrong.
2007-07-25 10:51:03 +00:00
Magnus Hagander
d602592494 Make it possible, and default, for MingW to build with SSPI support
by dynamically loading the function that's missing from the MingW
headers and library.
2007-07-24 09:00:27 +00:00
Magnus Hagander
f70866fb23 SSPI authentication on Windows. GSSAPI compatible client when doing Kerberos
against a Unix server, and Windows-specific server-side authentication
using SSPI "negotiate" method (Kerberos or NTLM).

Only builds properly with MSVC for now.
2007-07-23 10:16:54 +00:00
Magnus Hagander
784fd04940 Enable GSSAPI to build using MSVC. Always build GSSAPI when Kerberos is
enabled, because the only Kerberos library supported always contains it.
2007-07-12 14:43:21 +00:00
Magnus Hagander
6771994058 Fix freenig of names in Kerberos when using MIT - need to use the
free function provided in the Kerberos library.
This fixes a very hard to track down heap corruption on windows
when using debug runtimes.
2007-07-12 14:10:39 +00:00
Magnus Hagander
d5eaa637ce Move parse.h into src/backend on msvc, which is where it is on Unix.
Fixes builds from tarballs where the file is pre-generated.

Yoshiyuki Asaba
2007-07-07 07:43:21 +00:00
Magnus Hagander
454333a687 Add notes about configuring Visual Studio Express for use with the
Platform SDK.
2007-07-01 18:40:37 +00:00
Magnus Hagander
d1eaa42fd5 Add extra checks for buildfarm to pick up errors when running
on XP or earlier versions of Windows.

Andrew Dunstan
2007-06-26 11:43:56 +00:00
Andrew Dunstan
52ba24a156 Quiet warnings about redefined PGPORT macros for MSVC. 2007-06-20 17:19:00 +00:00
Magnus Hagander
ee0d34ab64 ECPG requires a local include directory to override the project-wide ones.
Add ability to add "prefix include directories", and use it...

With this, ecpg regression tests now pass on MSVC builds.
2007-06-12 18:31:28 +00:00
Magnus Hagander
09922597c5 Rewrite ECPG regression test driver in C, by splitting the standard
regression driver into two parts and reusing half of it. Required to
run ECPG tests without a shell on MSVC builds.

Fix ECPG thread tests for MSVC build (incl output files).

Joachim Wieland and Magnus Hagander
2007-06-12 11:07:34 +00:00
Michael Meskes
93625aa8ac Applied Joachim's patch for ecpg_config.h creation on Vista.
Changed variable test to not run into infinite loops on backend errors.
2007-05-27 11:16:41 +00:00
Andrew Dunstan
ea7f18d15b fix perl thinko 2007-05-15 01:57:57 +00:00
Andrew Dunstan
42a65e39a5 Use configured pgport in MSVC config file. 2007-05-15 00:15:01 +00:00
Magnus Hagander
2ede0ecacc Log directory we're installing into.
Per request from Andrew Dunstan.
2007-05-13 15:33:07 +00:00
Magnus Hagander
40f7b9e169 Release builds generate different strangely formatted export names
for local symbols, that shouldn't be exported. This patch excludes them,
cutting down about 10,000 exported symbols and decreasing the binary size
by 20%.
2007-05-03 14:04:03 +00:00
Magnus Hagander
d6013a34f2 Add wrapper script around install.pl that calls buildenv.bat before doing
the install.

Dave Page
2007-05-01 20:11:14 +00:00
Magnus Hagander
6cc02136a4 Properly set MODULE_PATHNAME based on module name instead of incorrectly based
on directory name. Fixes the generation of .sql files in contrib/spi.

Per complaint from Dave Page.
2007-04-27 16:45:54 +00:00
Magnus Hagander
5ea27a4b28 libpgtypes is a client lib, should not link with backend. 2007-04-26 14:09:12 +00:00
Magnus Hagander
2d7f4f2220 Generate "fake configure output" for pg_config, so that external builds
like Slony can figure out which options were enabled in the build.
2007-04-26 10:36:47 +00:00
Magnus Hagander
6792b4bba3 Install libpgport.lib as needed by some client programs.
Dave Page
2007-04-25 19:00:05 +00:00
Magnus Hagander
9295463087 Install headers in the same directory structure as Mingw.
Dave Page
2007-04-25 18:58:33 +00:00
Magnus Hagander
152b77aa3d Don't try to install uuid-ossp since we don't build it.
Per buildfarm member mastodon.
2007-04-23 17:18:58 +00:00
Magnus Hagander
ac7e6c0665 Fix build for directories with spaces in them by quoting properly.
Joachim Wieland
2007-04-21 20:58:05 +00:00
Magnus Hagander
adf7788c5e Don't try to build uuid-ossp on msvc. 2007-04-21 19:04:51 +00:00
Magnus Hagander
62d25256f1 Change default build to release, to be consistent with unix build.
Make it possible to set the default from builenv.bat.

Per request from Dave Page
2007-04-18 10:14:06 +00:00
Magnus Hagander
de9effb55f Enable IPV6 for all MSVC builds, including the VC6 libpq-only build.
Per request from Hiroshi Saito.
2007-04-16 18:39:19 +00:00
Magnus Hagander
b60ddffa93 Install debugger symbols (in their own directory) 2007-04-12 12:46:20 +00:00
Magnus Hagander
4dd3365086 Enable IPV6 when building with MSVC. 2007-04-12 07:03:00 +00:00
Andrew Dunstan
e1f1a5358b Only run contrib check if there is a Makefile 2007-04-06 13:44:39 +00:00
Magnus Hagander
ab94cc92e4 Continue running contrib regression tests if one fails, and exit
with errorlevel 1 is >= 1 checks failed.
2007-04-05 12:31:36 +00:00
Magnus Hagander
4c40130296 Make sure list of tests is cleared out before getting the new list
of tests. Per Andrew Dunstan.
2007-04-05 12:10:40 +00:00
Andrew Dunstan
618aec735c improve test headings 2007-04-04 20:53:44 +00:00
Andrew Dunstan
e687c4c3c7 Don't install files for xml2 when building without libxml. 2007-04-04 18:45:59 +00:00
Magnus Hagander
8f296ebea7 Don't install files for sslinfo when building without openssl.
Per Andrew Dunstan.
2007-04-04 16:34:43 +00:00