Magnus Hagander
1f6fc49ce3
Fix msvc install for cases where msgfmt (from gettext) is in a directory
...
that contains spaces.
Per complaint from Gevik Babakhani, like the last one.
2008-02-07 17:58:16 +00:00
Magnus Hagander
26351d1c74
Fix msvc install script to properly install NLS files when built with
...
gettext.
2008-02-07 13:49:00 +00:00
Magnus Hagander
8d363727f4
Fix very broken clean.bat for msvc install. The way we used subroutines
...
in .bat simply did not work, and it called them in the wrong order,
some several times, and some not at all. So this unrolls all subroutine
calls.
This should fix the issues with clean deleting the wrong files reported
by Dave Page.
While at it, add the "clean dist" option to act like "make distclean",
and no longer remove the flex/bison output files by default. This shuold
fix the problem reported by Pavel Golub in bug #3909 .
2008-02-06 15:13:25 +00:00
Magnus Hagander
03e4dc9ef2
Handle libraries in directories with spaces in them.
...
Gevik Babakhani
2008-02-05 14:17:23 +00:00
Andrew Dunstan
7ae43187ee
Remove 3 hex digit limit on symbol number in recent fix.
2008-01-31 16:30:24 +00:00
Andrew Dunstan
0a4ef62bf8
Fix test that wrongly excluded some dumpbin symbols.
...
Keep the intermediate symbol file rather then blowing it away, for easier debugging.
2008-01-31 03:26:14 +00:00
Peter Eisentraut
79a323ab49
Change /contrib to contrib for consistency.
2008-01-24 06:23:33 +00:00
Bruce Momjian
bfde21a1a8
Improve usage message for pgindent.
2008-01-16 20:13:44 +00:00
Bruce Momjian
f7d22658e6
Mention use of src/tools/major_release_split for creating back-branch
...
release notes.
2008-01-07 22:05:27 +00:00
Bruce Momjian
be6c3b5c2b
Modify copyright script to handle cases where there is only one year
...
in the copyright
2008-01-02 02:36:18 +00:00
Bruce Momjian
9098ab9e32
Update copyrights in source tree to 2008.
2008-01-01 19:46:01 +00:00
Bruce Momjian
012786aa1e
Update find_typedefs to handle simple 'typedef X' cases, per request
...
from Tom.
2007-12-21 21:02:41 +00:00
Bruce Momjian
7b009a2a9d
Modify pgindent to use an external typedefs file rather than included
...
list.
Remove pgjindent.
2007-12-21 14:20:36 +00:00
Magnus Hagander
1b1f7e977b
Remove unnecessary logo output from msbuild when cleaning ecpg regression
...
test outputs.
2007-12-19 12:31:35 +00:00
Magnus Hagander
0a6ac0085c
Make all msvc build scripts use buildenv.pl, not buildenv.bat.
...
Andrew Dunstan
2007-12-19 12:29:36 +00:00
Bruce Momjian
812bf6984b
Mention use all configure options when getting pgindent typedefs.
2007-12-17 02:02:48 +00:00
Bruce Momjian
55cfdd4400
Mention installing /contrib libraries for pgindent.
2007-12-17 01:56:43 +00:00
Bruce Momjian
cede2491b8
Mark items needing updating for beta stamping.
2007-12-13 02:02:20 +00:00
Magnus Hagander
22867ab986
Use _USE_32BIT_TIME_T when building with MSVC. Also, enforce that it's
...
used when building addons.
Dave Page
2007-12-11 14:34:43 +00:00
Magnus Hagander
a0c4ac77ad
Disable asserts by default on msvc build (to make it the same
...
as in unix)
2007-12-06 17:07:37 +00:00
Magnus Hagander
739338e88a
Default to integer timestamps being off until 8.4, to correspond
...
to the settings used for other platforms.
2007-12-03 17:17:05 +00:00
Magnus Hagander
8aa318c631
Don't try to install README.spi
...
Hannes Eder
2007-12-03 15:42:58 +00:00
Bruce Momjian
d6fda1b0bb
Better guard token used by pgindent.
2007-11-16 01:25:15 +00:00
Bruce Momjian
0c2c061eb0
Cleanup for new else/comment handling.
2007-11-16 01:11:04 +00:00
Bruce Momjian
7d4c99b414
Fix pgindent to properly handle 'else' and single-line comments on the
...
same line; previous fix was only partial. Re-run pgindent on files
that need it.
2007-11-15 23:23:44 +00:00
Bruce Momjian
da0b2cdff8
Beef up README instructions, again.
2007-11-15 22:15:46 +00:00
Bruce Momjian
6c8f69cd58
CUpdate README to suggest 'gmake distclean'. Add library typedefs.
2007-11-15 22:12:09 +00:00
Bruce Momjian
2a754d70d7
Update pgtools README to be clearer about typdefs.
2007-11-15 22:09:07 +00:00
Bruce Momjian
ab895f3b40
Update pgindent with current typedefs.
2007-11-15 22:06:07 +00:00
Bruce Momjian
1f735c32b2
Add blank lines to pgindent.
2007-11-15 21:52:39 +00:00
Bruce Momjian
fdf5a5efb7
pgindent run for 8.3.
2007-11-15 21:14:46 +00:00
Tom Lane
07c23731f2
contrib/tsearch2 need not be special-cased any longer.
2007-11-13 22:49:47 +00:00
Bruce Momjian
049f6b9baa
Properly pass third argument to open() in fsync test program.
...
Hiroshi Saito
2007-11-05 17:10:26 +00:00
Marc G. Fournier
2a34c1f288
removed from CVS
2007-10-30 23:38:23 +00:00
Marc G. Fournier
b973530737
simple script to pull together a very small (<500k) tar file that builds
...
*just* libpq ... its not perfect, as it pulls in more files then is
necessarily required to build, but as it is, it requires one simple patch
to configure.in in order to work ...
Tested on FreeBSD ... patch for configure.in hasn't been applied, but
putting the script in place so that it doesn't get lost ...
2007-10-30 02:34:48 +00:00
Tom Lane
dbaec70c15
Rename and slightly redefine the default text search parser's "word"
...
categories, as per discussion. asciiword (formerly lword) is still
ASCII-letters-only, and numword (formerly word) is still the most general
mixed-alpha-and-digits case. But word (formerly nlword) is now
any-group-of-letters-with-at-least-one-non-ASCII, rather than all-non-ASCII as
before. This is no worse than before for parsing mixed Russian/English text,
which seems to have been the design center for the original coding; and it
should simplify matters for parsing most European languages. In particular
it will not be necessary for any language to accept strings containing digits
as being regular "words". The hyphenated-word categories are adjusted
similarly.
2007-10-23 20:46:12 +00:00
Tom Lane
9a4b29d832
Teach pgxs.mk and Install.pm how to install files from a contrib module
...
into SHAREDIR/tsearch_data. Use this instead of ad-hoc coding in
dict_xsyn/Makefile. Should fix current ContribCheck failures on MSVC.
2007-10-16 16:00:00 +00:00
Tom Lane
cd8e1f50dd
Ooops, forgot about adding -DFRONTEND.
2007-10-13 23:22:46 +00:00
Tom Lane
041a8b37f5
Try to fix msvc build for recent initdb changes.
2007-10-13 22:55:38 +00:00
Bruce Momjian
fe385795a1
Add comment.
2007-10-09 02:56:44 +00:00
Bruce Momjian
41f8f37474
Add comment about cvs branch numbers.
2007-10-05 18:40:52 +00:00
Bruce Momjian
e77df38a0f
Add pgcvslog '-d' capability to allow stripping of commit messages that
...
have back branch activity. This will be useful for creating release
notes for major releases.
2007-10-05 16:42:32 +00:00
Magnus Hagander
2890c33084
Build two more .DEF files for ecpg instead of using default ones.
2007-10-03 13:43:24 +00:00
Magnus Hagander
bdf6b888a8
More detailed error msg (with stack trace) if a file copy fails.
2007-10-03 13:20:40 +00:00
Magnus Hagander
f83e44aecd
Use snprintf from libpgport in ecpg compatlib. Required since
...
we restricted exports from ecpglib.
2007-10-03 12:34:29 +00:00
Magnus Hagander
7b4453e5c1
Fix commandlines for final two ECPG regression tests
2007-10-03 12:31:18 +00:00
Magnus Hagander
c8792c86f2
Build DEF file for libecpg instead of generating a default one.
2007-10-03 12:11:00 +00:00
Magnus Hagander
6ddbc1164d
Make ECPG regression tests run with -c only for array_of_struct.pgc
...
on MSVC.
Fix strange nonstandard version of __stdcall specifyer in thread
tests on win32.
2007-10-03 11:57:36 +00:00
Magnus Hagander
ebade3f5bf
Fix typo
2007-10-03 11:34:11 +00:00
Bruce Momjian
8ddeb48cd5
Update pgcvslog text to simply "<branch>"
2007-10-01 13:04:55 +00:00
Bruce Momjian
2d5dfd9516
Fixup for new pgcvslog feature.
2007-10-01 03:01:38 +00:00
Bruce Momjian
7d4dd3ab41
Have pgcvslog mark back-branch commits with "<back-patch>".
2007-10-01 02:59:03 +00:00
Bruce Momjian
e6022e7470
In the release checklist, mention packagers will see the minor upgrade
...
numbering for additional functions.
2007-09-29 12:19:16 +00:00
Magnus Hagander
bdee83e7e4
Add chklocale.c to pgport files for msvc builds, per
...
buildfarm failures.
2007-09-29 07:15:33 +00:00
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
Bruce Momjian
dc29d703d8
Doc reminder that integer pg version also needs updating.
2007-09-18 01:52:39 +00:00
Bruce Momjian
22b613ebd9
Whitespace improvement.
2007-09-12 19:27:16 +00:00
Magnus Hagander
6ee3b2dfe4
Install dictionary sample files.
...
Per buildfarm and Teodor.
2007-09-12 13:58:23 +00:00
Bruce Momjian
1e0eeab155
Document an efficient way to create documentation for back branches.
2007-09-12 03:21:20 +00:00
Tom Lane
f243a1a1bd
Revert temporary patch that made synchronous_commit default to OFF.
2007-09-10 02:01:19 +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
Tom Lane
5c681ab1cb
Exclude snowball/libstemmer/ files from the set processed by pgindent.
...
There's not much point in prettifying machine-generated code, and it
seems best to keep these files exactly like upstream anyway. Also add
some notes about why various files are excluded.
2007-08-21 16:08:23 +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
Tom Lane
140d4ebcb4
Tsearch2 functionality migrates to core. The bulk of this work is by
...
Oleg Bartunov and Teodor Sigaev, but I did a lot of editorializing,
so anything that's broken is probably my fault.
Documentation is nonexistent as yet, but let's land the patch so we can
get some portability testing done.
2007-08-21 01:11:32 +00:00
Tom Lane
b83bd31bd9
TEMPORARILY make synchronous_commit default to OFF, so that we can get more
...
thorough testing of async-commit mode from the buildfarm. This patch MUST
get reverted before 8.3 release!
2007-08-13 19:27:12 +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
Tom Lane
bc8036fc66
Support arrays of composite types, including the rowtypes of regular tables
...
and views (but not system catalogs, nor sequences or toast tables). Get rid
of the hardwired convention that a type's array type is named exactly "_type",
instead using a new column pg_type.typarray to provide the linkage. (It still
will be named "_type", though, except in odd corner cases such as
maximum-length type names.)
Along the way, make tracking of owner and schema dependencies for types more
uniform: a type directly created by the user has these dependencies, while a
table rowtype or auto-generated array type does not have them, but depends on
its parent object instead.
David Fetter, Andrew Dunstan, Tom Lane
2007-05-11 17:57:14 +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