else
{
/*
- * It would not be safe to naively use use batchmode, as
+ * It would not be safe to naively use batchmode, as
* heapcheck_read_stream_next_unskippable takes locks. It shouldn't be
* too hard to convert though.
*/
* locks, so the information of each buffer is self-consistent.
*
* This loop touches and stores addresses into os_page_ptrs[] as input
- * to one big big move_pages(2) inquiry system call. Basically we ask
- * for all memory pages for NBuffers.
+ * to one big move_pages(2) inquiry system call. Basically we ask for
+ * all memory pages for NBuffers.
*/
startptr = (char *) TYPEALIGN_DOWN(os_page_size, (char *) BufferGetBlock(1));
idx = 0;
* the scan's BTArrayKeyInfo array, which is guaranteed to be large enough to
* fit every so->arrayKeys[] entry.
*
- * Also sets *numSkipArrayKeys_out to the number of of skip arrays caller must
+ * Also sets *numSkipArrayKeys_out to the number of skip arrays caller must
* add to the scan keys it'll output. Caller must add this many skip arrays:
* one array for each of the most significant attributes that lack a = input
* key (IS NULL keys count as = input keys here). The specific attributes
continue;
}
- /* Some = key (could be a a scalar = key, could be an array = key) */
+ /* Some = key (could be a scalar = key, could be an array = key) */
Assert(key->sk_strategy == BTEqualStrategyNumber);
if (!(key->sk_flags & SK_SEARCHARRAY))
* account for any that were removed due to initial pruning; refer to the
* condition in InitExecPartitionPruneContexts() that is used to determine
* whether to do this. If no exec pruning needs to be done, we would thus
- * leave the maps to be in an invalid invalid state, but that's ok since
- * that data won't be consulted again (cf initial Assert in
+ * leave the maps to be in an invalid state, but that's ok since that data
+ * won't be consulted again (cf initial Assert in
* ExecFindMatchingSubPlans).
*/
if (prunestate->do_exec_prune)
"could not get lconv for LC_MONETARY = \"%s\", LC_NUMERIC = \"%s\": %m",
locale_monetary, locale_numeric);
- /* Must copy data now now so we can re-encode it. */
+ /* Must copy data now so we can re-encode it. */
extlconv = &tmp;
worklconv.decimal_point = strdup(extlconv->decimal_point);
worklconv.thousands_sep = strdup(extlconv->thousands_sep);
summary);
/*
- * Allocate memory in this process's DSA for storing statistics of the the
+ * Allocate memory in this process's DSA for storing statistics of the
* memory contexts upto max_stats, for contexts that don't fit within a
* limit, a cumulative total is written as the last record in the DSA
* segment.
LWLockAcquire(&memCxtArea->lw_lock, LW_EXCLUSIVE);
/*
- * Create a DSA and send handle to the the client process after storing
- * the context statistics. If number of contexts exceed a predefined
+ * Create a DSA and send handle to the client process after storing the
+ * context statistics. If number of contexts exceed a predefined
* limit(8MB), a cumulative total is stored for such contexts.
*/
if (memCxtArea->memstats_dsa_handle == DSA_HANDLE_INVALID)
* stage of pg_upgrade in swap mode, so we need to synchronize them
* ourselves. We only do this for the catalog files because they were
* created during pg_restore with fsync=off. We assume that the user
- * data files files were properly persisted to disk when the user last
- * shut it down.
+ * data files were properly persisted to disk when the user last shut
+ * it down.
*/
if (user_opts.do_sync)
sync_queue_push(dest);
{
/*
* To support executing using worker processes, the file descriptor for an
- * IO may need to be be reopened in a different process.
+ * IO may need to be reopened in a different process.
*/
void (*reopen) (PgAioHandle *ioh);