summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2005-01-06Instead of a bare recv() to read the server's response to an SSLTom Lane
request packet, use pqReadData(). This has the same effect since conn->ssl isn't set yet and we aren't expecting more than one byte. The advantage is that we will correctly detect loss-of-connection instead of going into an infinite loop. Per report from Hannu Krosing.
2005-01-06Adjust lookup of client-side profile files (.pgpass and so on) as perTom Lane
discussion on pgsql-hackers-win32 list. Documentation still needs to be tweaked --- I'm not sure how to refer to the APPDATA folder in user documentation.
2005-01-06Translation updatesDennis Bjorklund
2005-01-06Translation updatesDennis Bjorklund
2005-01-06Translation updatesDennis Bjorklund
2005-01-06Translation updatesPeter Eisentraut
2005-01-06Translation updatesPeter Eisentraut
2005-01-06Make the various places that determine the user's "home directory"Tom Lane
consistent. On Unix we now always consult getpwuid(); $HOME isn't used at all. On Windows the code currently consults $USERPROFILE, or $HOME if that's not defined, but I expect this will change as soon as the win32 hackers come to a consensus. Nothing done yet about changing the file names used underneath $USERPROFILE.
2005-01-06Keep translations in step with synopses.Tom Lane
2005-01-04Clean up code in libpq that obtains user's home directory: make a singleTom Lane
subroutine that can hide platform dependencies. The WIN32 path is still a stub, but I await a fix from one of the win32 hackers. Also clean up unnecessary #ifdef WIN32 ugliness in a couple of places.
2005-01-04Make pg_dump --oids work when default_with_oids = off. Per report fromTom Lane
Michael Fuhr.
2005-01-04Translation updatePeter Eisentraut
2005-01-04Fix typoPeter Eisentraut
2005-01-03Translation updatesPeter Eisentraut
2005-01-03Repair bufmgr deadlock problem reported by Michael Wildpaner. Must takeTom Lane
share lock on a buffer being written out before releasing BufMgrLock in the BufferAlloc code path; if we do it later we might block on someone who's re-pinned the buffer. I believe this is only an issue for BufferAlloc and not the other places that call FlushBuffer. BufferSync must continue to do it the old way since it may well be trying to write buffers that other backends have pinned; but it should not be holding any conflicting locks. FlushRelationBuffers is okay since it's got exclusive lock at the relation level.
2005-01-03Update copyright script.Bruce Momjian
2005-01-01Adjust a few more copyright notices to match the format expected byTom Lane
the src/tools/copyright script.
2005-01-01Some more missed copyright notices. Many of these look like theyTom Lane
should have been caught by the src/tools/copyright script ... why weren't they?
2005-01-01Update copyrights that were missed.Bruce Momjian
2004-12-31Tag appropriate files for rc3PostgreSQL Daemon
Also performed an initial run through of upgrading our Copyright date to extend to 2005 ... first run here was very simple ... change everything where: grep 1996-2004 && the word 'Copyright' ... scanned through the generated list with 'less' first, and after, to make sure that I only picked up the right entries ...
2004-12-31Clean up win32ver.o on Windows, per Magnus.Tom Lane
2004-12-31make clean must remove zic$(X) for Windows, per Magnus.Tom Lane
2004-12-30Fixed segfault in connect when specifying no database name.Michael Meskes
2004-12-29Support Sun's compiler on SunOS4 (a/k/a Solaris 9). Per ayan@ayan.netTom Lane
2004-12-29Refactor EXEC_BACKEND code so that postmaster child processes reattachTom Lane
to shared memory as soon as possible, ie, right after read_backend_variables. The effective difference from the original code is that this happens before instead of after read_nondefault_variables(), which loads GUC information and is apparently capable of expanding the backend's memory allocation more than you'd think it should. This should fix the failure-to-attach-to-shared-memory reports we've been seeing on Windows. Also clean up a few bits of unnecessarily grotty EXEC_BACKEND code.
2004-12-29Translation updatesPeter Eisentraut
2004-12-28Make libpq default to localhost connections on machines without Unix-domainTom Lane
sockets, rather than failing as it formerly did. Revert the thereby-obsoleted patch to make psql supply the localhost default.
2004-12-27Make sure --with-pgport option propagates into postgresql.conf.Tom Lane
Per gripe from Josh Berkus.
2004-12-27Cause pg_hba.conf file inclusion (@file stuff) to behave as documented,Tom Lane
that is, files are sought in the same directory as the referencing file. Also allow absolute paths in @file constructs. Improve documentation to actually say what is allowed in an included file.
2004-12-27Translation updatePeter Eisentraut
2004-12-26Fix func_ptr declaration for netbsd-mac68k, per Rémi Zara.Tom Lane
2004-12-26Rearrange include file contents into a saner order, add inclusion ofTom Lane
<signal.h>. Per Andrew Dunstan.
2004-12-24Remove 'optimization' to skip resolve_symlinks() when the foundTom Lane
executable file isn't itself a symlink. We still need to run the algorithm so that any directory symlinks in the path to the executable are replaced by a true path. Noticed this on seeing pg_config give me a completely wrong answer for --pkglibdir when I called it through a symlink to the installation bindir.
2004-12-24Switch order of WHERE clauses in tab completion queries, as suggestedTom Lane
by Rod Taylor. The foo_is_visible() functions are relatively slow and so it pays to check them after checking the name pattern match.
2004-12-23Avoid memory leakage during VACUUM FULL when an index expression orTom Lane
index predicate uses temporary memory for evaluation. Per example from Jean-Gerard Pailloncy.
2004-12-23Add missing ecpg prototype for newly added functions.Bruce Momjian
2004-12-23Added PGTYPEStimestamp_add_interval written by Dave Cramer.Michael Meskes
Fixed parsing of defines to make sure they used more than once.
2004-12-23Use float8-small-is-zero for netbsd on m68k, per Rémi Zara.Tom Lane
2004-12-23Remove extra parenthesis.Tom Lane
2004-12-22Awhile back I added some code to StartupCLOG() to forcibly zero outTom Lane
the remainder of the current clog page during system startup. While this was a good idea, it turns out the code fails if nextXid is exactly at a page boundary, because we won't have created the "current" clog page yet in that case. Since the page will be correctly zeroed when we execute the first transaction on it, the solution is just to do nothing when exactly at a page boundary. Per trouble report from Dave Hartwig.
2004-12-21Add '-Wl,' prefix to linker switches consistently. Remove shlib_symbolicTom Lane
macros, which aren't used anywhere and haven't been for some time.
2004-12-21exec_eval_simple_expr() needs to do CommandCounterIncrement() not justTom Lane
GetTransactionSnapshot() to ensure ActiveSnapshot advances properly. Sigh. Extend regression test so it reveals this error too.
2004-12-21Add error checking for starting a win32 service using pg_ctl.Bruce Momjian
2004-12-21Return proper error exit code on pg_ctl -w start failure.Bruce Momjian
2004-12-21Translation updatePeter Eisentraut
2004-12-21tag files for rc2REL8_0_0RC2PostgreSQL Daemon
2004-12-21Patch to make libpq.rc be a built-for-distribution file was a fewTom Lane
bricks shy of a load.
2004-12-20Mention libpq.rc.in is now the file to update for releases.Bruce Momjian
2004-12-20Ensure that 'disabling statistics collector' is logged in all failureTom Lane
paths of pgstat_init. Responds to confusion exhibited by Christoph Haller.
2004-12-20Add support for Latin9 encoding in to_ascii(). Jaime CasanovaTom Lane