mirror of
https://github.com/postgres/postgres.git
synced 2025-06-05 00:02:04 -04:00
Fix Latin spelling
"c.f." should be "cf.".
This commit is contained in:
parent
f50c80dbb1
commit
9e945f8626
@ -120,7 +120,7 @@ IsCatalogClass(Oid relid, Form_pg_class reltuple)
|
|||||||
* this is noticeably cheaper and doesn't require catalog access.
|
* this is noticeably cheaper and doesn't require catalog access.
|
||||||
*
|
*
|
||||||
* This test is safe since even an oid wraparound will preserve this
|
* This test is safe since even an oid wraparound will preserve this
|
||||||
* property (c.f. GetNewObjectId()) and it has the advantage that it works
|
* property (cf. GetNewObjectId()) and it has the advantage that it works
|
||||||
* correctly even if a user decides to create a relation in the pg_catalog
|
* correctly even if a user decides to create a relation in the pg_catalog
|
||||||
* namespace.
|
* namespace.
|
||||||
* ----
|
* ----
|
||||||
|
@ -1611,7 +1611,7 @@ contain_leaked_vars_walker(Node *node, void *context)
|
|||||||
* WHERE CURRENT OF doesn't contain leaky function calls.
|
* WHERE CURRENT OF doesn't contain leaky function calls.
|
||||||
* Moreover, it is essential that this is considered non-leaky,
|
* Moreover, it is essential that this is considered non-leaky,
|
||||||
* since the planner must always generate a TID scan when CURRENT
|
* since the planner must always generate a TID scan when CURRENT
|
||||||
* OF is present -- c.f. cost_tidscan.
|
* OF is present -- cf. cost_tidscan.
|
||||||
*/
|
*/
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@
|
|||||||
* all our platforms, but it also simplifies memory ordering concerns
|
* all our platforms, but it also simplifies memory ordering concerns
|
||||||
* between the remote and local lsn. We use a lwlock instead of a spinlock
|
* between the remote and local lsn. We use a lwlock instead of a spinlock
|
||||||
* so it's less harmful to hold the lock over a WAL write
|
* so it's less harmful to hold the lock over a WAL write
|
||||||
* (c.f. AdvanceReplicationProgress).
|
* (cf. AdvanceReplicationProgress).
|
||||||
*
|
*
|
||||||
* ---------------------------------------------------------------------------
|
* ---------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
* they are written to the WAL and is responsible to reassemble them into
|
* they are written to the WAL and is responsible to reassemble them into
|
||||||
* toplevel transaction sized pieces. When a transaction is completely
|
* toplevel transaction sized pieces. When a transaction is completely
|
||||||
* reassembled - signalled by reading the transaction commit record - it
|
* reassembled - signalled by reading the transaction commit record - it
|
||||||
* will then call the output plugin (c.f. ReorderBufferCommit()) with the
|
* will then call the output plugin (cf. ReorderBufferCommit()) with the
|
||||||
* individual changes. The output plugins rely on snapshots built by
|
* individual changes. The output plugins rely on snapshots built by
|
||||||
* snapbuild.c which hands them to us.
|
* snapbuild.c which hands them to us.
|
||||||
*
|
*
|
||||||
@ -1752,7 +1752,7 @@ ReorderBufferForget(ReorderBuffer *rb, TransactionId xid, XLogRecPtr lsn)
|
|||||||
/*
|
/*
|
||||||
* Execute invalidations happening outside the context of a decoded
|
* Execute invalidations happening outside the context of a decoded
|
||||||
* transaction. That currently happens either for xid-less commits
|
* transaction. That currently happens either for xid-less commits
|
||||||
* (c.f. RecordTransactionCommit()) or for invalidations in uninteresting
|
* (cf. RecordTransactionCommit()) or for invalidations in uninteresting
|
||||||
* transactions (via ReorderBufferForget()).
|
* transactions (via ReorderBufferForget()).
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
* catalog in a transaction. During normal operation this is achieved by using
|
* catalog in a transaction. During normal operation this is achieved by using
|
||||||
* CommandIds/cmin/cmax. The problem with that however is that for space
|
* CommandIds/cmin/cmax. The problem with that however is that for space
|
||||||
* efficiency reasons only one value of that is stored
|
* efficiency reasons only one value of that is stored
|
||||||
* (c.f. combocid.c). Since ComboCids are only available in memory we log
|
* (cf. combocid.c). Since ComboCids are only available in memory we log
|
||||||
* additional information which allows us to get the original (cmin, cmax)
|
* additional information which allows us to get the original (cmin, cmax)
|
||||||
* pair during visibility checks. Check the reorderbuffer.c's comment above
|
* pair during visibility checks. Check the reorderbuffer.c's comment above
|
||||||
* ResolveCminCmaxDuringDecoding() for details.
|
* ResolveCminCmaxDuringDecoding() for details.
|
||||||
|
@ -820,7 +820,7 @@ ProcArrayApplyRecoveryInfo(RunningTransactions running)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* latestObservedXid is at least set to the point where SUBTRANS was
|
* latestObservedXid is at least set to the point where SUBTRANS was
|
||||||
* started up to (c.f. ProcArrayInitRecovery()) or to the biggest xid
|
* started up to (cf. ProcArrayInitRecovery()) or to the biggest xid
|
||||||
* RecordKnownAssignedTransactionIds() was called for. Initialize
|
* RecordKnownAssignedTransactionIds() was called for. Initialize
|
||||||
* subtrans from thereon, up to nextXid - 1.
|
* subtrans from thereon, up to nextXid - 1.
|
||||||
*
|
*
|
||||||
|
2
src/backend/utils/cache/relcache.c
vendored
2
src/backend/utils/cache/relcache.c
vendored
@ -2511,7 +2511,7 @@ RelationClearRelation(Relation relation, bool rebuild)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* This shouldn't happen as dropping a relation is intended to be
|
* This shouldn't happen as dropping a relation is intended to be
|
||||||
* impossible if still referenced (c.f. CheckTableNotInUse()). But
|
* impossible if still referenced (cf. CheckTableNotInUse()). But
|
||||||
* if we get here anyway, we can't just delete the relcache entry,
|
* if we get here anyway, we can't just delete the relcache entry,
|
||||||
* as it possibly could get accessed later (as e.g. the error
|
* as it possibly could get accessed later (as e.g. the error
|
||||||
* might get trapped and handled via a subtransaction rollback).
|
* might get trapped and handled via a subtransaction rollback).
|
||||||
|
@ -1722,7 +1722,7 @@ describeOneTableDetails(const char *schemaname,
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* In 9.0+, we have column comments for: relations, views, composite
|
* In 9.0+, we have column comments for: relations, views, composite
|
||||||
* types, and foreign tables (c.f. CommentObject() in comment.c).
|
* types, and foreign tables (cf. CommentObject() in comment.c).
|
||||||
*/
|
*/
|
||||||
if (tableinfo.relkind == RELKIND_RELATION ||
|
if (tableinfo.relkind == RELKIND_RELATION ||
|
||||||
tableinfo.relkind == RELKIND_VIEW ||
|
tableinfo.relkind == RELKIND_VIEW ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user