- 28 6月, 2001 1 次提交
-
-
由 Tom Lane 提交于
do anything yet, but it has the necessary connections to initialization and so forth. Make some gestures towards allowing number of blocks in a relation to be BlockNumber, ie, unsigned int, rather than signed int. (I doubt I got all the places that are sloppy about it, yet.) On the way, replace the hardwired NLOCKS_PER_XACT fudge factor with a GUC variable.
-
- 22 3月, 2001 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 25 1月, 2001 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 22 12月, 2000 1 次提交
-
-
由 Tom Lane 提交于
level" locks. A session lock is not released at transaction commit (but it is released on transaction abort, to ensure recovery after an elog(ERROR)). In VACUUM, use a session lock to protect the master table while vacuuming a TOAST table, so that the TOAST table can be done in an independent transaction. I also took this opportunity to do some cleanup and renaming in the lock code. The previously noted bug in ProcLockWakeup, that it couldn't wake up any waiters beyond the first non-wakeable waiter, is now fixed. Also found a previously unknown bug of the same kind (failure to scan all members of a lock queue in some cases) in DeadLockCheck. This might have led to failure to detect a deadlock condition, resulting in indefinite waits, but it's difficult to characterize the conditions required to trigger a failure.
-
- 04 12月, 2000 1 次提交
-
-
由 Tom Lane 提交于
very unhappy ...
-
- 30 11月, 2000 1 次提交
-
-
由 Tom Lane 提交于
included by everything that includes bufmgr.h --- it's supposed to be internals, after all, not part of the API! This fixes the conflict against FreeBSD headers reported by Rosenman, by making it unnecessary for s_lock.h to be included by plperl.c.
-
- 29 11月, 2000 1 次提交
-
-
由 Tom Lane 提交于
IPC key assignment will now work correctly even when multiple postmasters are using same logical port number (which is possible given -k switch). There is only one shared-mem segment per postmaster now, not 3. Rip out broken code for non-TAS case in bufmgr and xlog, substitute a complete S_LOCK emulation using semaphores in spin.c. TAS and non-TAS logic is now exactly the same. When deadlock is detected, "Deadlock detected" is now the elog(ERROR) message, rather than a NOTICE that comes out before an unhelpful ERROR.
-
- 22 11月, 2000 1 次提交
-
-
由 Peter Eisentraut 提交于
-
- 13 4月, 2000 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 26 1月, 2000 1 次提交
-
-
由 Bruce Momjian 提交于
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc to all files copyright Regents of Berkeley. Man, that's a lot of files.
-
- 07 10月, 1999 1 次提交
-
-
由 Vadim B. Mikheev 提交于
First step in cleaning up backend initialization code. Fix for FATAL: now FATAL is ERROR + exit.
-
- 18 7月, 1999 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 16 7月, 1999 3 次提交
-
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
-
- 01 6月, 1999 1 次提交
-
-
由 Tom Lane 提交于
-
- 29 5月, 1999 1 次提交
-
-
由 Tom Lane 提交于
through MAXBACKENDS array entries used to be fine when MAXBACKENDS = 64. It's not so cool with MAXBACKENDS = 1024 (or more!), especially not in a frequently-used routine like SIDelExpiredDataEntries. Repair by making procState array size be the soft MaxBackends limit rather than the hard limit, and by converting SIGetProcStateLimit() to a macro.
-
- 26 5月, 1999 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 07 3月, 1999 1 次提交
-
-
由 Tom Lane 提交于
This change brings the default size of the main shmem block back under 1MB, which is a fairly popular value for the kernel's SHMMAX parameter.
-
- 22 2月, 1999 1 次提交
-
-
由 Tom Lane 提交于
shared memory space allocation. It's a wonder we have not seen bug reports traceable to this area ... it's quite clear that the routine dir_realloc() has never worked correctly, for example.
-
- 21 2月, 1999 1 次提交
-
-
由 Tom Lane 提交于
of MAXBACKENDS is now 1024, since all it's costing is about 32 bytes of memory per array slot. configure's --with-maxbackends switch now controls DEF_MAXBACKENDS which is simply the default value of the postmaster's -N switch. Thus, the out-of-the-box configuration will still limit you to 64 backends, but you can go up to 1024 backends simply by restarting the postmaster with a different -N switch --- no rebuild required.
-
- 19 2月, 1999 2 次提交
-
-
由 Tom Lane 提交于
postmaster will release whatever it did get before dying.
-
由 Tom Lane 提交于
(--with-maxbackends). Add a postmaster switch (-N backends) that allows the limit to be reduced at postmaster start time. (You can't increase it, sorry to say, because there are still some fixed-size arrays.) Grab the number of semaphores indicated by min(MAXBACKENDS, -N) at postmaster startup, so that this particular form of bogus configuration is exposed immediately rather than under heavy load.
-
- 14 2月, 1999 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 15 12月, 1998 1 次提交
-
-
由 Vadim B. Mikheev 提交于
New code for locking buffer' context.
-
- 01 9月, 1998 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 27 6月, 1998 3 次提交
-
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
shmem_exit to replace exitpg().
-
由 Bruce Momjian 提交于
-
- 25 6月, 1998 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 24 6月, 1998 2 次提交
-
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
-
- 23 6月, 1998 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 30 5月, 1998 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 08 9月, 1997 1 次提交
-
-
由 Bruce Momjian 提交于
Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting.
-
- 07 9月, 1997 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 08 1月, 1997 1 次提交
-
-
由 Bryan Henderson 提交于
-
- 08 11月, 1996 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 06 11月, 1996 1 次提交
-
-
由 Marc G. Fournier 提交于
-
- 03 11月, 1996 1 次提交
-
-
由 Marc G. Fournier 提交于
Add #include "postgres.h" as required Remove #include "c.h" *and* "utils/elog.h" as applicable
-