mirror of
https://github.com/postgres/postgres.git
synced 2025-11-15 03:41:20 +03:00
Lots of doc corrections.
Josh Kupershmidt
This commit is contained in:
@@ -345,7 +345,7 @@ ResetUnloggedRelationsInDbspaceDir(const char *dbspacedirname, int op)
|
||||
/*
|
||||
* Basic parsing of putative relation filenames.
|
||||
*
|
||||
* This funtion returns true if the file appears to be in the correct format
|
||||
* This function returns true if the file appears to be in the correct format
|
||||
* for a non-temporary relation and false otherwise.
|
||||
*
|
||||
* NB: If this function returns true, the caller is entitled to assume that
|
||||
|
||||
@@ -279,10 +279,10 @@ ProcArrayAdd(PGPROC *proc)
|
||||
/*
|
||||
* Keep the procs array sorted by (PGPROC *) so that we can utilize
|
||||
* locality of references much better. This is useful while traversing the
|
||||
* ProcArray because there is a increased likelyhood of finding the next
|
||||
* ProcArray because there is a increased likelihood of finding the next
|
||||
* PGPROC structure in the cache.
|
||||
*
|
||||
* Since the occurance of adding/removing a proc is much lower than the
|
||||
* Since the occurrence of adding/removing a proc is much lower than the
|
||||
* access to the ProcArray itself, the overhead should be marginal
|
||||
*/
|
||||
for (index = 0; index < arrayP->numProcs; index++)
|
||||
|
||||
@@ -1234,7 +1234,7 @@ InitPredicateLocks(void)
|
||||
* that this will prevent resource exhaustion in even the most pessimal
|
||||
* loads up to max_connections = 200 with all 200 connections pounding the
|
||||
* database with serializable transactions. Beyond that, there may be
|
||||
* occassional transactions canceled when trying to flag conflicts. That's
|
||||
* occasional transactions canceled when trying to flag conflicts. That's
|
||||
* probably OK.
|
||||
*/
|
||||
max_table_size *= 5;
|
||||
|
||||
Reference in New Issue
Block a user