Tom Lane
3191ab5dcc
Remove the last traces of --temp-port.
2008-12-01 13:39:45 +00:00
Tom Lane
2a6108ac24
Partial fix for fallout from temp-port changes. ecpg still needs more work,
...
but I think this is enough to turn the buildfarm green again.
2008-11-28 23:47:51 +00:00
Magnus Hagander
cb10467d30
Add support for matching wildcard server certificates to the new SSL code.
...
This uses the function fnmatch() which is not available on all platforms
(notably Windows), so import the implementation from NetBSD into src/port.
2008-11-24 09:15:16 +00:00
Magnus Hagander
772eedb6bb
Exclude contrib/intagg from the list of MSVC project files to be generated,
...
since it's now just a SQL module and no C code.
2008-11-14 22:12:37 +00:00
Michael Meskes
b78f9b496d
Enable script to generate preproc.y in build process.
2008-11-14 17:11:40 +00:00
Bruce Momjian
06c22d7f51
Small shell syntax improvement.
2008-11-03 15:56:47 +00:00
Tom Lane
d6dfa1e6c6
Update oidjoins test to match CVS HEAD.
2008-10-13 12:59:57 +00:00
Tom Lane
556dfb5e06
Fix bogus comment emitted by make_oidjoins_check, per Greg Stark.
2008-10-13 12:59:29 +00:00
Bruce Momjian
a6586c0dc1
Improve backend flowchart to show more detail.
2008-10-07 00:19:48 +00:00
Tom Lane
dad4215d0a
Experimental patch to see if it fixes MSVC builds ...
2008-10-06 02:55:20 +00:00
Tom Lane
32f159cc55
Add an "events" system to libpq, whereby applications can get callbacks that
...
enable them to manage private data associated with PGconns and PGresults.
Andrew Chernow and Merlin Moncure
2008-09-17 04:31:08 +00:00
Bruce Momjian
f536f74ade
Add Win32 MSVC code to support this recent patch:
...
Add missing descriptions for aggregates, functions and conversions.
Bernd Helmle
2008-09-05 16:54:39 +00:00
Tom Lane
b8f5ea7685
Fix (hopefully) some oversights in recent Bison cleanup patch.
...
Per buildfarm results.
2008-08-30 02:32:24 +00:00
Peter Eisentraut
7c31742a07
Remove all traces that suggest that a non-Bison yacc might be supported, and
...
change build system to use only Bison. Simplify build rules, make file names
uniform. Don't build the token table header file where it is not needed.
2008-08-29 13:02:33 +00:00
Bruce Momjian
3c35de85e7
Remove tools and documention for generating TODO.html.
2008-08-20 18:22:28 +00:00
Magnus Hagander
f434ebaa9a
Properly remove src\include\utils\probes.h when running clean.bat.
2008-08-18 13:42:49 +00:00
Magnus Hagander
19c1e68e16
probes.h is generated from probes.d, not pg_trace.d.
2008-08-16 12:42:27 +00:00
Tom Lane
4b362c662e
Avoid substituting NAMEDATALEN, FLOAT4PASSBYVAL, and FLOAT8PASSBYVAL into
...
the postgres.bki file during build, because we want that file to be entirely
platform- and configuration-independent; else it can't safely be put into
/usr/share on multiarch machines. We can do the substitution during initdb,
instead. FLOAT4PASSBYVAL and FLOAT8PASSBYVAL are new breakage as of 8.4,
while the NAMEDATALEN hazard has been there all along but I guess no one
tripped over it. Noticed while trying to build "universal" OS X binaries.
2008-07-19 04:01:29 +00:00
Tom Lane
320c7eb8c6
Oops, make the MSVC build put fmgroids.h where it needs to be.
...
Per buildfarm results.
2008-06-24 01:15:36 +00:00
Tom Lane
eeee06919f
Fix Gen_fmgrtab.sh to not rely on hard-wired knowledge of the column numbers
...
in pg_proc. Also make it not emit duplicate extern declarations, and make it
a bit more bulletproof in some other small ways. Likewise fix the equally
hard-wired, and utterly undocumented, knowledge in the MSVC build scripts.
For testing purposes and perhaps other uses in future, pull out that portion
of the MSVC scripts into a standalone perl script equivalent to
Gen_fmgrtab.sh, and make it generate actually identical output, rather than
just more-or-less-the-same output.
Motivated by looking at Pavel's variadic function patch. Whether or not
that gets accepted, we can be sure that pg_proc's column set will change
again in the future; it's time to not have to deal with this gotcha.
2008-06-23 17:54:30 +00:00
Andrew Dunstan
2ac64dba44
Prevent CVS from mangling script
2008-06-15 21:58:55 +00:00
Andrew Dunstan
3f850cbdc5
Add script to find .c and .h files that are missing CVS PostgreSQL markers
...
and add them. Avoids third party files or those that would cause regression
failures.
2008-06-15 21:46:02 +00:00
Tom Lane
99b8ebec64
Create a script to handle stamping release version numbers into files,
...
replacing the tedious and error-prone manual process we've been using.
2008-06-10 18:08:48 +00:00
Tom Lane
bf4bd50ff7
Copy refint.so and autoinc.so into the src/test/regress directory during
...
"make all", and then reference them there during the actual tests. This
makes the handling of these files more parallel to that of regress.so,
and in particular simplifies use of the regression tests outside the
original build tree. The PGDG and Red Hat RPMs have been doing this via
patches for a very long time. Inclusion of the change in core was requested
by Jørgen Austvik of Sun, and I can't see any reason not to.
I attempted to fix the MSVC scripts for this too, but they may need
further tweaking ...
2008-05-30 00:04:32 +00:00
Michael Meskes
d82e7c84fa
Link in keywords file instead of copying it.
...
Use #define/#ifdef instead of sed to fix include files, this should work on Windows too.
2008-05-21 19:51:01 +00:00
Magnus Hagander
42ad6631cd
Add include directory required after the latest changes to the ecpg build.
...
Per red Windows buildfarm members.
2008-05-21 18:15:29 +00:00
Andrew Dunstan
53972b460c
Add $PostgreSQL$ markers to a lot of files that were missing them.
...
This particular batch was just for *.c and *.h file.
The changes were made with the following 2 commands:
find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o \( -name '*.[ch]' \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | while read file ; do head -n 1 < $file | grep -q '^/\*' && echo $file; done | xargs -l sed -i -e '1s/^\// /' -e '1i/*\n * $PostgreSQL:$ \n *'
find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o \( -name '*.[ch]' \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | xargs -l sed -i -e '1i/*\n * $PostgreSQL:$ \n */'
2008-05-17 01:28:26 +00:00
Andrew Dunstan
a86a9bf9fe
Remaining pieces of fix for contrib makefiles
2008-05-10 15:30:11 +00:00
Andrew Dunstan
3159040627
Improve logic for finding object files on OBJS lines in contrib Makefiles. If this unbreaks buildfarm mastodon, apply everywhere.
2008-05-09 16:01:05 +00:00
Andrew Dunstan
d61eecb5a1
Provide for MSVC config equivalents of recently added configure options. Remove
...
any hardcoding of those options. Along the way, reorder the expression used to
calculate RELSEG_SIZE to make it slightly clearer. For now wal_segsize is only
allowed to have a value of 1 on Windows - we can relax that when we get full
large file support in the backend.
2008-05-03 00:24:06 +00:00
Bruce Momjian
a256ea5088
FAQ2txt now only controls the main FAQ, not FAQ_DEV.
2008-04-22 10:30:32 +00:00
Magnus Hagander
a31b03ba27
Clean up float4byval and float8byval handling by dealing with them completely
...
from inside the build script.
2008-04-21 18:37:28 +00:00
Magnus Hagander
de6e4c9d60
Make float4byval and float8byval configurable on MSVC.
2008-04-21 10:01:32 +00:00
Tom Lane
8472bf7a73
Allow float8, int8, and related datatypes to be passed by value on machines
...
where Datum is 8 bytes wide. Since this will break old-style C functions
(those still using version 0 calling convention) that have arguments or
results of these types, provide a configure option to disable it and retain
the old pass-by-reference behavior. Likewise, provide a configure option
to disable the recently-committed float4 pass-by-value change.
Zoltan Boszormenyi, plus configurability stuff by me.
2008-04-21 00:26:47 +00:00
Bruce Momjian
6e884662a1
Update doc script comments.
2008-04-19 12:52:51 +00:00
Bruce Momjian
c610615563
Add script FAQ2txt to convert HTML files to txt. Add comment to TODO2html.
2008-04-19 12:42:35 +00:00
Bruce Momjian
54208a3272
Add TODO2html tool to convert TODO to HTML.
2008-04-19 12:34:54 +00:00
Bruce Momjian
d18f5c3eb0
Ignore blank lines in typedef file.
2008-04-16 21:03:08 +00:00
Andrew Dunstan
e8d11ade56
Avoid using unnecessary pgwin32_safestat in libpq.
2008-04-16 14:19:56 +00:00
Andrew Dunstan
2b8a795738
Add multi-line flag to regex that needs it. Backpatch to 8.2. Fix from Andreas Zeugswetter
2008-04-15 16:22:36 +00:00
Andrew Dunstan
fcf053d782
Make integer_datetimes the default for MSVC even if not mentioned in config.pl.
2008-04-15 12:16:51 +00:00
Magnus Hagander
bb6f1eb9df
Make integer_datetimes the default on msvc as well, to have the same
...
default as other platforms.
2008-04-08 07:50:41 +00:00
Bruce Momjian
fca9fff41b
More README src cleanups.
2008-03-21 13:23:29 +00:00
Andrew Dunstan
458c585697
Generate dummy probes.h for MSVC builds.
2008-03-21 02:50:02 +00:00
Bruce Momjian
af7680f668
Add find_typedef comments for Linux.
2008-03-18 23:23:08 +00:00
Bruce Momjian
0939946a5e
Add find_typedef comment.
2008-03-18 23:04:34 +00:00
Bruce Momjian
61d416e3b2
Add Linux support to find_typedefs, with help from Alvaro.
2008-03-18 22:45:11 +00:00
Magnus Hagander
b13635ce59
Support for building contrib/uuid-ossp with MSVC.
...
Original patch from Hiroshi Saito, modified by me.
2008-02-28 12:17:59 +00:00
Magnus Hagander
66c80bfd98
Un-break msvc port yet again (it started pulling in the Darwin
...
port files, which obviously didn't compile)
2008-02-19 16:15:14 +00:00
Magnus Hagander
fae032c9fc
Unbreak MSVC build after recent addition of HTMLDIR.
2008-02-19 12:00:03 +00:00