Remove duplicated words in comments.
David Rowley
This commit is contained in:
parent
83aca89f7c
commit
a10589a512
@ -2183,9 +2183,9 @@ XLogSendPhysical(void)
|
|||||||
if (sendTimeLineIsHistoric)
|
if (sendTimeLineIsHistoric)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Streaming an old timeline timeline that's in this server's history,
|
* Streaming an old timeline that's in this server's history, but is
|
||||||
* but is not the one we're currently inserting or replaying. It can
|
* not the one we're currently inserting or replaying. It can be
|
||||||
* be streamed up to the point where we switched off that timeline.
|
* streamed up to the point where we switched off that timeline.
|
||||||
*/
|
*/
|
||||||
SendRqstPtr = sendTimeLineValidUpto;
|
SendRqstPtr = sendTimeLineValidUpto;
|
||||||
}
|
}
|
||||||
|
@ -719,7 +719,7 @@ array_position_common(FunctionCallInfo fcinfo)
|
|||||||
|
|
||||||
if (PG_ARGISNULL(1))
|
if (PG_ARGISNULL(1))
|
||||||
{
|
{
|
||||||
/* fast return when the array doesn't have have nulls */
|
/* fast return when the array doesn't have nulls */
|
||||||
if (!array_contains_nulls(array))
|
if (!array_contains_nulls(array))
|
||||||
PG_RETURN_NULL();
|
PG_RETURN_NULL();
|
||||||
searched_element = (Datum) 0;
|
searched_element = (Datum) 0;
|
||||||
@ -871,7 +871,7 @@ array_positions(PG_FUNCTION_ARGS)
|
|||||||
|
|
||||||
if (PG_ARGISNULL(1))
|
if (PG_ARGISNULL(1))
|
||||||
{
|
{
|
||||||
/* fast return when the array doesn't have have nulls */
|
/* fast return when the array doesn't have nulls */
|
||||||
if (!array_contains_nulls(array))
|
if (!array_contains_nulls(array))
|
||||||
PG_RETURN_DATUM(makeArrayResult(astate, CurrentMemoryContext));
|
PG_RETURN_DATUM(makeArrayResult(astate, CurrentMemoryContext));
|
||||||
searched_element = (Datum) 0;
|
searched_element = (Datum) 0;
|
||||||
|
@ -8470,7 +8470,7 @@ read_nondefault_variables(void)
|
|||||||
* particular postmaster. Most PGC_INTERNAL variables are compile-time
|
* particular postmaster. Most PGC_INTERNAL variables are compile-time
|
||||||
* constants; a few, like server_encoding and lc_ctype, are handled specially
|
* constants; a few, like server_encoding and lc_ctype, are handled specially
|
||||||
* outside the serialize/restore procedure. Therefore, SerializeGUCState()
|
* outside the serialize/restore procedure. Therefore, SerializeGUCState()
|
||||||
* never sends these, and and RestoreGUCState() never changes them.
|
* never sends these, and RestoreGUCState() never changes them.
|
||||||
*/
|
*/
|
||||||
static bool
|
static bool
|
||||||
can_skip_gucvar(struct config_generic * gconf)
|
can_skip_gucvar(struct config_generic * gconf)
|
||||||
|
@ -433,7 +433,7 @@ StartLogStreamer(char *startpos, uint32 timeline, char *sysidentifier)
|
|||||||
snprintf(param->xlogdir, sizeof(param->xlogdir), "%s/pg_xlog", basedir);
|
snprintf(param->xlogdir, sizeof(param->xlogdir), "%s/pg_xlog", basedir);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Create pg_xlog/archive_status (and thus pg_xlog) so we can can write to
|
* Create pg_xlog/archive_status (and thus pg_xlog) so we can write to
|
||||||
* basedir/pg_xlog as the directory entry in the tar file may arrive
|
* basedir/pg_xlog as the directory entry in the tar file may arrive
|
||||||
* later.
|
* later.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user