Bruce Momjian
74e1bfe66d
Remove derived files from WIN32_DEV branch.
2003-09-12 02:04:40 +00:00
Bruce Momjian
c770338038
flex/bison stamp fix.
2003-09-08 01:55:52 +00:00
Bruce Momjian
5b88ff87d7
Force flex/bison files to be new.
2003-09-07 23:40:52 +00:00
Bruce Momjian
b6e00d8a84
For flex/bison files to be new.
2003-09-07 23:39:03 +00:00
Bruce Momjian
3dc0ae58ef
Force flex/bison output files to be current.
2003-09-07 23:34:02 +00:00
Bruce Momjian
6435fc072e
Update WIN32 branch from CVS HEAD.
2003-09-07 21:44:31 +00:00
Bruce Momjian
c40ed51319
Update this branch to match CVS head, includes WIN32 improvements.
2003-09-07 04:37:13 +00:00
Tom Lane
cae912d05b
Do not link in libwsock32 on non-win32 platforms. Improve grammar
...
of thread-safety comments.
2003-08-11 18:07:38 +00:00
Tom Lane
31773533bd
Fix typo.
2003-08-07 21:38:55 +00:00
Tom Lane
33ab177a56
Don't assume that struct option is available just because we can find a
...
getopt_long(). This is more or less the same problem as we saw earlier
with getaddrinfo() and struct addrinfo, and for the same reason: random
user-added libraries might contain the subroutine, but there's no
guarantee we will find the matching header files.
2003-08-07 21:11:58 +00:00
PostgreSQL Daemon
d10146c067
change tag to 7.4beta1 and update the Copyright to 2003
...
Guess what folks? We are now in Beta!!
2003-08-04 22:30:30 +00:00
Bruce Momjian
98bf004421
Re-add USE_THREADS, used by ecpg.
2003-08-04 21:26:26 +00:00
Bruce Momjian
5c15cb4752
Fix thread handling in configure.
2003-08-04 16:48:03 +00:00
Tom Lane
4c3c8c048d
Remove --enable-recode feature, since it's been broken by IPv6 changes,
...
and seems to have too few users to justify maintaining.
2003-08-04 04:03:10 +00:00
Tom Lane
850489ab7e
Don't pull in libbind except on BeOS, per pgsql-bugs discussion around
...
12 Jun 2003.
2003-08-03 20:23:14 +00:00
Tom Lane
13ac54d1ca
Since HPUX now exists for Itanium, we should decouple the assumption
...
that OS=hpux is the same as CPU=hppa. First steps at doing this.
With these patches, we still work on hppa with either gcc or HP's cc.
We might work on hpux/itanium with gcc, but I can't test it. Definitely
will not work on hpux/itanium with non-gcc compiler, for lack of spinlock
code.
2003-08-01 19:12:52 +00:00
Bruce Momjian
55103553ad
--enable-thread-safeness -> --enable-thread-safety
2003-08-01 03:10:04 +00:00
Tom Lane
df63503dc2
Have a go at fixing various outstanding portability issues in code that
...
was modified for IPv6. Use a robust definition of struct sockaddr_storage,
do a proper configure test to see if ss_len exists, don't assume that
getnameinfo() will handle AF_UNIX sockets, don't trust getaddrinfo to
return the protocol we ask for, etc. This incorporates several outstanding
patches from Kurt Roeckx, but I'm to blame for anything that doesn't
work ...
2003-07-23 23:30:41 +00:00
Bruce Momjian
bd95e21594
Rename --with-threads to --enable-thread-safeness, per Peter.
2003-07-23 17:27:28 +00:00
Bruce Momjian
277dbb0c34
Fix threading configure tests, from Peter.
2003-07-22 16:39:55 +00:00
Bruce Momjian
99308891ef
Remove references to sa_family_t, except when SOCKADDR_STORAGE requires
...
it.
Also handle __ss_family as a synonym for ss_family.
Kurt Roeckx
2003-06-23 23:52:00 +00:00
Bruce Momjian
4d9eede82f
Move thread checking code farther down in conflgure.
2003-06-18 16:04:15 +00:00
Bruce Momjian
228c02c3e5
Run autoconf/autoheader for ecpg change.
2003-06-15 04:09:18 +00:00
Bruce Momjian
ffa3bfbc30
Move thread os defines into template files.
2003-06-14 19:21:42 +00:00
Bruce Momjian
a16a031411
Make libpq thread-safe with configure --with-threads option.
...
Lee Kindness
2003-06-14 17:49:54 +00:00
Bruce Momjian
62b532b736
Add thread.c for libpq threading, and hook it into libpq/configure.
2003-06-14 14:35:42 +00:00
Bruce Momjian
02d847fe9f
Add --with-threads configure option to control threaded libpq.
2003-06-13 23:10:08 +00:00
Tom Lane
ccd99a5eb5
<sys/socket.h> requires <sys/types.h> to already have been included
...
on some platforms.
2003-06-12 16:05:10 +00:00
Bruce Momjian
b4cea00a1f
IPv6 cleanups.
...
Kurt Roeckx
Andrew Dunstan
2003-06-12 07:36:51 +00:00
Bruce Momjian
65fb311a97
Add Rendezvous support to postmaster, from Chris Campbell
2003-06-11 06:56:07 +00:00
Tom Lane
2df532d9a2
Make bison version test actually work ...
2003-06-09 03:41:47 +00:00
Bruce Momjian
152ce7a490
Change configure check to use $YACC, per Tom.
2003-06-07 16:32:05 +00:00
Bruce Momjian
fee9b7ca9b
Add configure warning to check for bison version >= 1.875.
2003-06-06 19:11:55 +00:00
Bruce Momjian
24daeb8e73
Add configure thread tests.
2003-05-27 16:36:50 +00:00
Tom Lane
c120f4ba0a
Adjust configure so that extern tzname[] will be checked for
...
independently of whether the struct tm tm_zone member exists.
Also run autoheader, which seems not to have been done lately;
it added about three more things to pg_config.h.in than I was expecting...
2003-05-22 16:39:30 +00:00
Bruce Momjian
ec5e0ef791
Reorganize Win32 includes to only include <port.h> after system includes
...
under Win32. Also fix other compile issues.
2003-05-16 01:57:52 +00:00
Bruce Momjian
09aad5a3a6
Add copydir() function because xcopy doesn't work in XP without a
...
window.
2003-05-15 17:59:17 +00:00
Bruce Momjian
12c9423832
Allow Win32 to compile under MinGW. Major changes are:
...
Win32 port is now called 'win32' rather than 'win'
add -lwsock32 on Win32
make gethostname() be only used when kerberos4 is enabled
use /port/getopt.c
new /port/opendir.c routines
disable GUC unix_socket_group on Win32
convert some keywords.c symbols to KEYWORD_P to prevent conflict
create new FCNTL_NONBLOCK macro to turn off socket blocking
create new /include/port.h file that has /port prototypes, move
out of c.h
new /include/port/win32_include dir to hold missing include files
work around ERROR being defined in Win32 includes
2003-05-15 16:35:30 +00:00
Bruce Momjian
37627eb571
Remove HPUX 9 rint() test.
...
Cleanup new crypt() source code.
2003-05-10 04:03:37 +00:00
Bruce Momjian
384bbdd0e1
autoconf run for crypt().
2003-05-09 16:52:48 +00:00
Bruce Momjian
0afe5417d7
Add rint() to /port, remove from qnx/.
2003-05-09 16:26:29 +00:00
Bruce Momjian
4207d6bf30
Add opendir/readdir/closedir() for Win32.
...
Keep SRA copyright on file because it contains BSD license clause.
2003-05-09 01:16:29 +00:00
Bruce Momjian
07d35e4277
Change alternate database location patch to test for symlink() rather
...
than WIN32.
2003-05-07 03:47:08 +00:00
Bruce Momjian
e8f4f2f92d
Properly test for buggy flex 2.5.3.
2003-05-06 23:33:52 +00:00
Tom Lane
f690920a75
Infrastructure for upgraded error reporting mechanism. elog.c is
...
rewritten and the protocol is changed, but most elog calls are still
elog calls. Also, we need to contemplate mechanisms for controlling
all this functionality --- eg, how much stuff should appear in the
postmaster log? And what API should libpq expose for it?
2003-04-24 21:16:45 +00:00
Bruce Momjian
dfc6649c4d
Add Win32 versions of unlink and rename --- loop until success.
2003-04-22 02:18:09 +00:00
Tom Lane
e138630251
On some systems <sys/types.h> must be included before <sys/socket.h>.
2003-04-12 23:25:42 +00:00
Peter Eisentraut
cb1d036acb
Generate pg_config.h.in by autoheader. Separate out manually editable
...
parts. Standardize spelling of comments in pg_config.h.
2003-04-06 22:45:23 +00:00
Tom Lane
1da6eb7fda
Whack getaddrinfo() patch around until it works, more or less, on
...
machines without IPv6. Or at least it works on HPUX 10.20 ...
2003-04-02 00:49:28 +00:00
Peter Eisentraut
82a91eb54e
Simplify the socket handling code by supplying a replacement getaddrinfo()
...
function if the OS doesn't provide one.
2003-03-29 11:31:52 +00:00