*
* ["D" is a VACUUM (ONLY_DATABASE_STATS)]
* ["R" is a VACUUM tbl]
- * D: vac_update_datfrozenid() -> systable_beginscan(pg_class)
+ * D: vac_update_datfrozenxid() -> systable_beginscan(pg_class)
* D: systable_getnext() returns pg_class tuple of tbl
* R: memcpy() into pg_class tuple of tbl
* D: raise pg_database.datfrozenxid, XLogInsert(), finish
sizeof(OffsetNumber) * nfrozen);
/*
- * Prepare the main xl_heap_prune record. We already set the XLPH_HAS_*
+ * Prepare the main xl_heap_prune record. We already set the XLHP_HAS_*
* flag above.
*/
if (RelationIsAccessibleInLogicalDecoding(relation))
{
inkeys = arrayKeyData;
- /* Also maintain keyDataMap for remapping so->orderProc[] later */
+ /* Also maintain keyDataMap for remapping so->orderProcs[] later */
keyDataMap = MemoryContextAlloc(so->arrayContext,
numberOfKeys * sizeof(int));
}
} XLogCtlData;
/*
- * Classification of XLogRecordInsert operations.
+ * Classification of XLogInsertRecord operations.
*/
typedef enum
{
}
/*
- * FindFkPeriodOpers -
+ * FindFKPeriodOpers -
*
* Looks up the operator oids used for the PERIOD part of a temporal foreign key.
* The opclass should be the opclass of that PERIOD element.
/*
- * Record a dependency between 2 objects via their respective objectAddress.
+ * Record a dependency between 2 objects via their respective ObjectAddress.
* The first argument is the dependent object, the second the one it
* references.
*
* replay or visibility invariants downstream. The critical section also
* suppresses interrupts.
*
- * (See also pg_visibilitymap.c if changing this code.)
+ * (See also visibilitymap.c if changing this code.)
*/
START_CRIT_SECTION();
/*
* plan_is_disabled
* Checks if the given plan node type was disabled during query planning.
- * This is evident by the disable_node field being higher than the sum of
- * the disabled_node field from the plan's children.
+ * This is evident by the disabled_nodes field being higher than the sum of
+ * the disabled_nodes field from the plan's children.
*/
static bool
plan_is_disabled(Plan *plan)
}
/*
- * It's disabled if the plan's disable_nodes is higher than the sum of its
- * child's plan disabled_nodes.
+ * It's disabled if the plan's disabled_nodes is higher than the sum of
+ * its child's plan disabled_nodes.
*/
if (plan->disabled_nodes > child_disabled_nodes)
return true;
*
* It is also possible to match a list of OR clauses if it might be
* transformed into a single ScalarArrayOpExpr clause. On success,
- * the returning index clause will contain a trasformed clause.
+ * the returning index clause will contain a transformed clause.
*
* For boolean indexes, it is also possible to match the clause directly
* to the indexkey; or perhaps the clause is (NOT indexkey).
/*
* In the PM_WAIT_BACKENDS state, wait for all the regular backends and
- * procesess like autovacuum and background workers that are comparable to
+ * processes like autovacuum and background workers that are comparable to
* backends to exit.
*
* PM_STOP_BACKENDS is a transient state that means the same as
* tuples, we're not interested in the record's contents.
*
* WAL contains likely-unnecessary commit-time invals from the
- * CacheInvalidateHeapTuple() call in heap_inplace_update().
- * Excess invalidation is safe.
+ * CacheInvalidateHeapTuple() call in
+ * heap_inplace_update_and_unlock(). Excess invalidation is safe.
*/
break;
* When analyzing an expression index, believe the expression tree's type
* not the column datatype --- the latter might be the opckeytype storage
* type of the opclass, which is not interesting for our purposes. This
- * mimics the behvior of examine_attribute().
+ * mimics the behavior of examine_attribute().
*/
if (expr == NULL)
{
/*
* For each argument name/value pair, find corresponding positional
* argument for the argument name, and assign the argument value to
- * postitional_fcinfo.
+ * positional_fcinfo.
*/
for (int i = 0; i < nargs; i += 2)
{
*
* Interface:
*
- * InitLocks(), GetLocksMethodTable(), GetLockTagsMethodTable(),
+ * LockManagerShmemInit(), GetLocksMethodTable(), GetLockTagsMethodTable(),
* LockAcquire(), LockRelease(), LockReleaseAll(),
* LockCheckConflicts(), GrantLock()
*
else
appendStringInfo(buf, "%s %s", big[tu / 10], small[tu % 10]);
}
-} /* num_word() */
+}
static inline Cash
cash_pl_cash(Cash c1, Cash c2)
* constraints and the columns in the child don't have their own NOT NULL
* declarations, we suppress printing constraints in the child: the
* constraints are acquired at the point where the child is attached to the
- * parent. This is tracked in ->notnull_inh (which is set in flagInhAttrs for
- * servers pre-18).
+ * parent. This is tracked in ->notnull_islocal (which is set in flagInhAttrs
+ * for servers pre-18).
*
* Any of these constraints might have the NO INHERIT bit. If so we set
* ->notnull_noinh and NO INHERIT will be printed by dumpTableSchema.
* conislocal. The inhcount is fixed by ALTER TABLE INHERIT,
* below. Special hack: in versions < 18, columns with no
* local definition need their constraint to be matched by
- * column number in conkeys instead of by contraint name,
+ * column number in conkeys instead of by constraint name,
* because the latter is not available. (We distinguish the
* case because the constraint name is the empty string.)
*/
snprintf(xlogfname, MAXFNAMELEN, XLOGDIR "/");
- /* update curent values */
+ /* update current values */
current_tli = xlogreader->seg.ws_tli;
current_segno = xlogreader->seg.ws_segno;
# if you need to. In the following example, the "next if !ref $row"
# check below is a hack to filter out non-hash objects. This is because
# we build the lookup tables from data that we read using the
-# "preserve_formatting" parameter.
+# "preserve_comments" parameter.
#
##Index access method lookup.
#my %amnames;
* default value */
FmgrInfo *in_functions; /* array of input functions for each attrs */
Oid *typioparams; /* array of element types for in_functions */
- ErrorSaveContext *escontext; /* soft error trapper during in_functions
+ ErrorSaveContext *escontext; /* soft error trapped during in_functions
* execution */
uint64 num_errors; /* total number of rows which contained soft
* errors */
/// a default alignment of 16 will be used.
uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
unsigned SectionID, StringRef SectionName,
- bool isReadOnly) override;
+ bool IsReadOnly) override;
/// Update section-specific memory permissions and other attributes.
///
# postmaster cannot accept() them fast enough. The exact limit
# and behavior depends on the platform. To make this reliable,
# we attempt SSL negotiation on each connection before opening
- # next one. The server will reject the SSL negotations, but
+ # next one. The server will reject the SSL negotiations, but
# when it does so, we know that the backend has been launched
# and we should be able to open another connection.