Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4094031

Browse files
committed
Assorted minor doc/comment fixes.
Identify pg_replication_origin as a shared catalog in catalogs.sgml, using the same boilerplate wording used for most other shared catalogs (and tweak another place where someone had randomly deviated from that boilerplate). Make an example in mmgr/README more consistent with surrounding text. Update an obsolete cross-reference in a comment in storage/block.h. Zhuo Ql Discussion: https://postgr.es/m/44296255.1819230.1524889719001@mail.yahoo.com
1 parent 63ca350 commit 4094031

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

doc/src/sgml/catalogs.sgml

+8-1
Original file line numberDiff line numberDiff line change
@@ -5690,6 +5690,13 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
56905690
see <xref linkend="replication-origins"/>.
56915691
</para>
56925692

5693+
<para>
5694+
Unlike most system catalogs, <structname>pg_replication_origin</structname>
5695+
is shared across all databases of a cluster: there is only one copy
5696+
of <structname>pg_replication_origin</structname> per cluster, not one per
5697+
database.
5698+
</para>
5699+
56935700
<table>
56945701

56955702
<title><structname>pg_replication_origin</structname> Columns</title>
@@ -6608,7 +6615,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
66086615

66096616
<para>
66106617
Unlike most system catalogs, <structname>pg_subscription</structname> is
6611-
shared across all databases of a cluster: There is only one copy
6618+
shared across all databases of a cluster: there is only one copy
66126619
of <structname>pg_subscription</structname> per cluster, not one per
66136620
database.
66146621
</para>

src/backend/utils/mmgr/README

+1-1
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ GetMemoryChunkContext())
401401

402402
and then invoke the corresponding method for the context
403403

404-
context->methods->free_p(p);
404+
context->methods->free_p(pointer);
405405

406406

407407
More Control Over aset.c Behavior

src/include/storage/block.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* contains exactly one disk block). the blocks are numbered
2323
* sequentially, 0 to 0xFFFFFFFE.
2424
*
25-
* InvalidBlockNumber is the same thing as P_NEW in buf.h.
25+
* InvalidBlockNumber is the same thing as P_NEW in bufmgr.h.
2626
*
2727
* the access methods, the buffer manager and the storage manager are
2828
* more or less the only pieces of code that should be accessing disk

0 commit comments

Comments
 (0)