parent
61ce1e8f15
commit
e51ab85cd9
|
@ -304,7 +304,7 @@ get_rand_pool(FState *st)
|
||||||
unsigned rnd;
|
unsigned rnd;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This slightly prefers lower pools - thats OK.
|
* This slightly prefers lower pools - that is OK.
|
||||||
*/
|
*/
|
||||||
rnd = st->key[st->rnd_pos] % NUM_POOLS;
|
rnd = st->key[st->rnd_pos] % NUM_POOLS;
|
||||||
|
|
||||||
|
|
|
@ -301,7 +301,7 @@ BackgroundWriterMain(void)
|
||||||
* check whether there has been any WAL inserted since the last time
|
* check whether there has been any WAL inserted since the last time
|
||||||
* we've logged a running xacts.
|
* we've logged a running xacts.
|
||||||
*
|
*
|
||||||
* We do this logging in the bgwriter as its the only process thats
|
* We do this logging in the bgwriter as its the only process that is
|
||||||
* run regularly and returns to its mainloop all the time. E.g.
|
* run regularly and returns to its mainloop all the time. E.g.
|
||||||
* Checkpointer, when active, is barely ever in its mainloop and thus
|
* Checkpointer, when active, is barely ever in its mainloop and thus
|
||||||
* makes it hard to log regularly.
|
* makes it hard to log regularly.
|
||||||
|
|
|
@ -677,7 +677,7 @@ StartupReplicationOrigin(void)
|
||||||
errmsg("could not open file \"%s\": %m",
|
errmsg("could not open file \"%s\": %m",
|
||||||
path)));
|
path)));
|
||||||
|
|
||||||
/* verify magic, thats written even if nothing was active */
|
/* verify magic, that is written even if nothing was active */
|
||||||
readBytes = read(fd, &magic, sizeof(magic));
|
readBytes = read(fd, &magic, sizeof(magic));
|
||||||
if (readBytes != sizeof(magic))
|
if (readBytes != sizeof(magic))
|
||||||
ereport(PANIC,
|
ereport(PANIC,
|
||||||
|
|
|
@ -612,7 +612,7 @@ SnapBuildExportSnapshot(SnapBuild *builder)
|
||||||
void
|
void
|
||||||
SnapBuildClearExportedSnapshot(void)
|
SnapBuildClearExportedSnapshot(void)
|
||||||
{
|
{
|
||||||
/* nothing exported, thats the usual case */
|
/* nothing exported, that is the usual case */
|
||||||
if (!ExportInProgress)
|
if (!ExportInProgress)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
|
@ -153,7 +153,7 @@
|
||||||
* to be coded into a tag.
|
* to be coded into a tag.
|
||||||
*
|
*
|
||||||
* Finally the match algorithm checks that at least a match
|
* Finally the match algorithm checks that at least a match
|
||||||
* of 3 or more bytes has been found, because thats the smallest
|
* of 3 or more bytes has been found, because that is the smallest
|
||||||
* amount of copy information to code into a tag. If so, a tag
|
* amount of copy information to code into a tag. If so, a tag
|
||||||
* is omitted and all the input bytes covered by that are just
|
* is omitted and all the input bytes covered by that are just
|
||||||
* scanned for the history add's, otherwise a literal character
|
* scanned for the history add's, otherwise a literal character
|
||||||
|
|
Loading…
Reference in New Issue