- 06 Jun, 2001 1 commit
-
-
Tom Lane authored
checkpoint's redo pointer, not its undo pointer, per discussion in pghackers a few days ago. No point in hanging onto undo information until we have the ability to do something with it --- and this solves a rather large problem with log space for long-running transactions. Also, change all calls of write() to detect the case where write returned a count less than requested, but failed to set errno. Presume that this situation indicates ENOSPC, and give the appropriate error message, rather than a random message associated with the previous value of errno.
-
- 01 Jun, 2001 1 commit
-
-
Tom Lane authored
-
- 18 May, 2001 1 commit
-
-
Tom Lane authored
-
- 08 May, 2001 1 commit
-
-
Peter Eisentraut authored
-
- 16 Apr, 2001 1 commit
-
-
Tom Lane authored
converting char* strings to type 'name'. Imagine my surprise when 7.1 release coredumped upon start when compiled --enable-multibyte ...
-
- 22 Mar, 2001 1 commit
-
-
Bruce Momjian authored
-
- 18 Mar, 2001 1 commit
-
-
Tom Lane authored
work in BeOS port.
-
- 13 Mar, 2001 1 commit
-
-
Tom Lane authored
* Store two past checkpoint locations, not just one, in pg_control. On startup, we fall back to the older checkpoint if the newer one is unreadable. Also, a physical copy of the newest checkpoint record is kept in pg_control for possible use in disaster recovery (ie, complete loss of pg_xlog). Also add a version number for pg_control itself. Remove archdir from pg_control; it ought to be a GUC parameter, not a special case (not that it's implemented yet anyway). * Suppress successive checkpoint records when nothing has been entered in the WAL log since the last one. This is not so much to avoid I/O as to make it actually useful to keep track of the last two checkpoints. If the things are right next to each other then there's not a lot of redundancy gained... * Change CRC scheme to a true 64-bit CRC, not a pair of 32-bit CRCs on alternate bytes. Polynomial borrowed from ECMA DLT1 standard. * Fix XLOG record length handling so that it will work at BLCKSZ = 32k. * Change XID allocation to work more like OID allocation. (This is of dubious necessity, but I think it's a good idea anyway.) * Fix a number of minor bugs, such as off-by-one logic for XLOG file wraparound at the 4 gig mark. * Add documentation and clean up some coding infelicities; move file format declarations out to include files where planned contrib utilities can get at them. * Checkpoint will now occur every CHECKPOINT_SEGMENTS log segments or every CHECKPOINT_TIMEOUT seconds, whichever comes first. It is also possible to force a checkpoint by sending SIGUSR1 to the postmaster (undocumented feature...) * Defend against kill -9 postmaster by storing shmem block's key and ID in postmaster.pid lockfile, and checking at startup to ensure that no processes are still connected to old shmem block (if it still exists). * Switch backends to accept SIGQUIT rather than SIGUSR1 for emergency stop, for symmetry with postmaster and xlog utilities. Clean up signal handling in bootstrap.c so that xlog utilities launched by postmaster will react to signals better. * Standalone bootstrap now grabs lockfile in target directory, as added insurance against running it in parallel with live postmaster.
-
- 27 Jan, 2001 1 commit
-
-
Tom Lane authored
actually) to ensure that its file access time doesn't get old enough to tempt a /tmp directory cleaner to remove it. Still another reason we should never have put the sockets in /tmp in the first place ...
-
- 24 Jan, 2001 1 commit
-
-
Bruce Momjian authored
-
- 29 Nov, 2000 1 commit
-
-
Tom Lane authored
socket file, in favor of having an ordinary lockfile beside the socket file. Clean up a few robustness problems in the lockfile code. If postmaster is going to reject a connection request based on database state, it will now tell you so before authentication exchange not after. (Of course, a failure after is still possible if conditions change meanwhile, but this makes life easier for a yet-to-be-written pg_ping utility.)
-
- 17 Nov, 2000 1 commit
-
-
Tom Lane authored
-
- 16 Nov, 2000 1 commit
-
-
Tom Lane authored
maintained for each cache entry. A cache entry will not be freed until the matching ReleaseSysCache call has been executed. This eliminates worries about cache entries getting dropped while still in use. See my posting to pg-hackers of even date for more info.
-
- 04 Nov, 2000 1 commit
-
-
Peter Eisentraut authored
it to an absolute path.
-
- 19 Sep, 2000 1 commit
-
-
Peter Eisentraut authored
There is still no effective difference but it will kick in once setuid functions exist (not included here). Make old getpgusername() alias for current_user.
-
- 06 Sep, 2000 1 commit
-
-
Peter Eisentraut authored
user is now defined in terms of the user id, the user name is only computed upon request (for display purposes). This is kind of the opposite of the previous state, which would maintain the user name and compute the user id for permission checks. Besides perhaps saving a few cycles (integer vs string), this now creates a single point of attack for changing the user id during a connection, for purposes of "setuid" functions, etc.
-
- 03 Aug, 2000 1 commit
-
-
Tom Lane authored
We're reaching the mopup stage here (good thing too, this is getting tedious).
-
- 14 Jul, 2000 1 commit
-
-
Peter Eisentraut authored
-
- 02 Jul, 2000 1 commit
-
-
Peter Eisentraut authored
and config.h. Adjusted all referring code. Scrapped pg_version and changed initdb accordingly. Integrated src/utils/version.c into src/backend/utils/init/miscinit.c. Changed all callers. Set version number to `7.1devel'. (Non-numeric version suffixes now allowed.)
-
- 14 Jun, 2000 1 commit
-
-
Peter Eisentraut authored
we'll get there one day. Use `cat' to create aclocal.m4, not `aclocal'. Some people don't have automake installed. Only run the autoconf rule in the top-level GNUmakefile if the invoker specified `make configure', don't run it automatically because of CVS timestamp skew.
-
- 13 Jun, 2000 1 commit
-
-
Tom Lane authored
functions that take pass-by-value datatypes. Should be ready for port testing ...
-
- 08 Jun, 2000 1 commit
-
-
Bruce Momjian authored
-
- 02 Jun, 2000 1 commit
-
-
Bruce Momjian authored
"rb" and "wb".
-
- 02 May, 2000 1 commit
-
-
Tatsuo Ishii authored
pg_char_to_encoding() in multibyte disbaled case so that it does not throw an error, rather return HARD CODED default value (currently SQL_ASCII). This would solve the "non-mb backend vs. mb-enabled frontend" problem.
-
- 12 Apr, 2000 1 commit
-
-
Bruce Momjian authored
-
- 18 Feb, 2000 1 commit
-
-
Hiroshi Inoue authored
-
- 26 Jan, 2000 1 commit
-
-
Bruce Momjian authored
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc to all files copyright Regents of Berkeley. Man, that's a lot of files.
-
- 19 Jan, 2000 1 commit
-
-
Bruce Momjian authored
a missing include from a modified file. Here is a patch to fix it:- Keith Parks.
-
- 18 Jan, 2000 2 commits
-
-
Tatsuo Ishii authored
-
Tatsuo Ishii authored
pg_char_to_encoding() pg_encoding_to_char()
-
- 13 Jan, 2000 1 commit
-
-
Peter Eisentraut authored
error-proof. Rearranged some old code and removed dead sections.
-
- 09 Jan, 2000 1 commit
-
-
Tatsuo Ishii authored
postmaster/postmaster.c so that tcop/postgres.c can use them. Now we have an interlock between postmaster and postgres.
-
- 24 Nov, 1999 1 commit
-
-
Bruce Momjian authored
-
- 22 Nov, 1999 1 commit
-
-
Bruce Momjian authored
Make all system indexes unique. Make all cache loads use system indexes. Rename *rel to *relid in inheritance tables. Rename cache names to be clearer.
-
- 06 Oct, 1999 1 commit
-
-
Vadim B. Mikheev authored
First step in cleaning up backend initialization code. Fix for FATAL: now FATAL is ERROR + exit.
-
- 17 Jul, 1999 1 commit
-
-
Bruce Momjian authored
-
- 16 Jul, 1999 2 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 15 Jul, 1999 2 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-