summaryrefslogtreecommitdiff
path: root/src/port
Commit message (Collapse)AuthorAgeFilesLines
* make sure the $Id tags are converted to $PostgreSQL as well ...PostgreSQL Daemon2003-11-295-5/+5
|
* $Header: -> $PostgreSQL Changes ...PostgreSQL Daemon2003-11-2918-18/+18
|
* Rename USE_THREADS to ENABLE_THREAD_SAFETY to avoid name clash with Perl.Peter Eisentraut2003-11-241-12/+12
| | | | | Fixes compilation failure with --enable-thread-safety --with-perl and Perl 5.6.1.
* Update /port C header descriptions.Bruce Momjian2003-11-1112-21/+123
|
* Allow win32 client compiles with MSC.Bruce Momjian2003-10-262-5/+10
| | | | Hiroshi Saito
* Don't reference pthread.h unless we have threads enabled, per Peter.Bruce Momjian2003-10-241-1/+3
|
* Use AROPT, not hard-coded flags.Peter Eisentraut2003-10-241-2/+2
|
* Change Win32 rename/unlink timeout to 3 seconds.Bruce Momjian2003-10-101-4/+4
|
* Update docs that point to thread test program.Bruce Momjian2003-09-291-3/+3
|
* Rename thread compile flag. Move thread test program to tools/thread,Bruce Momjian2003-09-272-4/+8
| | | | and improve tests.
* Add errno value for thread *_r function call buffer too small. ImproveBruce Momjian2003-09-151-1/+14
| | | | thread comments.
* Attempt threading in this order:Bruce Momjian2003-09-131-17/+156
| | | | | | | | | * use non-*_r function names if they are all thread-safe * (NEED_REENTRANT_FUNCS=no) * use *_r functions if they exist (configure test) * do our own locking and copying of non-threadsafe functions New to this patch is the last option.
* copydir() is supposed to return on failure, not elog(ERROR). ReduceTom Lane2003-09-101-11/+18
| | | | ERROR to WARNING so we keep control.
* ifdef out pqGetpwuid() because Win32 doesn't have struct passwd.Bruce Momjian2003-09-051-1/+3
| | | | | Needed for libpq builds, not just for native Win32 port, and probably for cygwin too.
* Add test for thread-safeness of libc functions.Bruce Momjian2003-09-031-1/+3
|
* Make NEED_REENTRANT_FUNC_NAMES _require_ *_r functions, and add tests toBruce Momjian2003-08-161-5/+4
| | | | configure to report if they are not found.
* Document threading status.Bruce Momjian2003-08-141-11/+40
| | | | Update to POSIX getpwuid_r() function.
* I'm quite fond of doing VPATH builds, i.e. building outside the sourceBruce Momjian2003-08-131-2/+2
| | | | | | | | | | tree. This also catches lots of little Makefile bugs, so here's a small patch for one of them (replacing an explicit reference to thread.c with a reference to it as the first prerequsite of the rule makes make look for it in the place where it was found (the source tree) rather than in the build tree. (using GNU make 3.79.1) John Gray
* Move simple_prompt()/sprompt.c into /port.Bruce Momjian2003-08-081-0/+158
|
* Typo cleanup.Bruce Momjian2003-08-081-2/+2
|
* More threading cleanups.Bruce Momjian2003-08-081-2/+2
|
* threads.c -> thread.c, be consistent.Bruce Momjian2003-08-081-1/+1
|
* Update copyrights to 2003.Bruce Momjian2003-08-045-9/+9
|
* pgindent run.Bruce Momjian2003-08-0410-481/+565
|
* A visit from the message-style police ...Tom Lane2003-07-281-2/+2
|
* elog mop-up.Tom Lane2003-07-272-16/+30
|
* Have a go at fixing various outstanding portability issues in code thatTom Lane2003-07-231-34/+25
| | | | | | | | | 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 ...
* Remove references to sa_family_t, except when SOCKADDR_STORAGE requiresBruce Momjian2003-06-231-8/+6
| | | | | | | | it. Also handle __ss_family as a synonym for ss_family. Kurt Roeckx
* Handle threading in two more gethostbyname calls.Bruce Momjian2003-06-141-2/+10
|
* Add thread.c for libpq threading, and hook it into libpq/configure.Bruce Momjian2003-06-142-1/+89
|
* Attached is the complete diff against current CVS.Bruce Momjian2003-06-123-3/+11
| | | | | | Compiles on BCC 5.5 and VC++ 6.0 (with warnings). Karl Waclawek
* Back out patch that got bundled into another patch.Bruce Momjian2003-06-123-11/+3
|
* New patch with corrected README attached.Bruce Momjian2003-06-123-3/+11
| | | | | | Also quickly added mention that it may be a qualified schema name. Rod Taylor
* IPv6 cleanups.Bruce Momjian2003-06-121-22/+127
| | | | | Kurt Roeckx Andrew Dunstan
* Allow interfaces to compile under MingGW/Win32 by adding _P to symbolsBruce Momjian2003-05-161-0/+53
| | | | in ecpg.
* Reorganize Win32 includes to only include <port.h> after system includesBruce Momjian2003-05-161-0/+5
| | | | under Win32. Also fix other compile issues.
* Add copydir() function because xcopy doesn't work in XP without aBruce Momjian2003-05-151-0/+44
| | | | window.
* Allow Win32 to compile under MinGW. Major changes are:Bruce Momjian2003-05-154-127/+16
| | | | | | | | | | | | | | | 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
* More crypt() cleanup.Bruce Momjian2003-05-101-8/+0
|
* Remove HPUX 9 rint() test.Bruce Momjian2003-05-101-5/+7
| | | | Cleanup new crypt() source code.
* Add crypt() to /port for Win32.Bruce Momjian2003-05-091-0/+1007
|
* Add rint() to /port, remove from qnx/.Bruce Momjian2003-05-091-0/+37
|
* Add opendir/readdir/closedir() for Win32.Bruce Momjian2003-05-091-0/+122
| | | | Keep SRA copyright on file because it contains BSD license clause.
* Make getaddrinfo's behavior with NULL node parameter agree with theTom Lane2003-04-271-2/+4
| | | | | Linux man page for it. This error was preventing CVS tip from accepting remote connections.
* Add comments to replace/unlink Win32 functions.Bruce Momjian2003-04-241-0/+6
|
* Add Win32 unlink/rename file.Bruce Momjian2003-04-221-0/+138
|
* Add Win32 path handling for / vs. \ and drive letters.Bruce Momjian2003-04-041-0/+78
|
* Whack getaddrinfo() patch around until it works, more or less, onTom Lane2003-04-021-11/+50
| | | | machines without IPv6. Or at least it works on HPUX 10.20 ...
* Simplify the socket handling code by supplying a replacement getaddrinfo()Peter Eisentraut2003-03-291-0/+132
| | | | function if the OS doesn't provide one.
* Back out flockfile change for NetBSD. Giles Lean reports they are notBruce Momjian2003-01-111-1/+13
| | | | supported.