Skip to content

Commit 801a868

Browse files
committed
fix(docs): broken link to preview
Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
1 parent ad7f24f commit 801a868

File tree

23 files changed

+98
-36
lines changed

23 files changed

+98
-36
lines changed

assets/documentation/1.27/cloudnative-pg.v1/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1561,8 +1561,8 @@ <h2 id="postgresql-cnpg-io-v1-BootstrapInitDB">BootstrapInitDB</h2>
15611561
<i>[]string</i>
15621562
</td>
15631563
<td>
1564-
<p>The list of options that must be passed to initdb when creating the cluster.
1565-
Deprecated: This could lead to inconsistent configurations,
1564+
<p>The list of options that must be passed to initdb when creating the cluster.</p>
1565+
<p>Deprecated: This could lead to inconsistent configurations,
15661566
please use the explicit provided parameters instead.
15671567
If defined, explicit values will be ignored.</p>
15681568
</td>

assets/documentation/1.27/imagevolume_extensions/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ <h3 id="including-system-libraries">Including System Libraries</h3>
605605
# ...
606606
</code></pre>
607607
<p>CloudNativePG will set the <code>LD_LIBRARY_PATH</code> environment variable to include
608-
<code>/extensions/postgis/system</code>, allowing PostgreSQL to locate and load these
608+
<code>/extensions/postgis/syslib</code>, allowing PostgreSQL to locate and load these
609609
system libraries at runtime.</p>
610610
<div class="admonition important">
611611
<p class="admonition-title">Important</p>

assets/documentation/1.27/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,5 +574,5 @@ <h2 id="about-this-guide">About this guide</h2>
574574

575575
<!--
576576
MkDocs version : 1.6.1
577-
Build Date UTC : 2025-10-23 16:38:26.802366+00:00
577+
Build Date UTC : 2025-11-08 11:18:13.281827+00:00
578578
-->

assets/documentation/1.27/logical_replication/index.html

Lines changed: 37 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@
109109
<ul class="current">
110110
<li class="toctree-l2"><a class="reference internal" href="#publications">Publications</a>
111111
<ul>
112+
<li class="toctree-l3"><a class="reference internal" href="#fine-grained-control-over-publication-tables">Fine-grained control over publication tables</a>
113+
</li>
112114
<li class="toctree-l3"><a class="reference internal" href="#required-fields-in-the-publication-manifest">Required Fields in the Publication Manifest</a>
113115
</li>
114116
<li class="toctree-l3"><a class="reference internal" href="#reconciliation-and-status">Reconciliation and Status</a>
@@ -431,14 +433,41 @@ <h2 id="publications">Publications</h2>
431433
<li>It includes all tables (<code>spec.target.allTables: true</code>) from the <code>app</code>
432434
database (<code>spec.dbname</code>).</li>
433435
</ul>
436+
<h3 id="fine-grained-control-over-publication-tables">Fine-grained control over publication tables</h3>
437+
<p>While the <code>allTables</code> option provides a convenient way to replicate all tables
438+
in a database, PostgreSQL version 15 and later introduce enhanced flexibility
439+
through the <a href="https://www.postgresql.org/docs/current/sql-createpublication.html"><code>CREATE PUBLICATION</code></a>
440+
command. This allows you to precisely define which tables, or even which types
441+
of data changes, should be included in a publication.</p>
434442
<div class="admonition important">
435443
<p class="admonition-title">Important</p>
436-
<p>While <code>allTables</code> simplifies configuration, PostgreSQL offers fine-grained
437-
control for replicating specific tables or targeted data changes. For advanced
438-
configurations, consult the <a href="https://www.postgresql.org/docs/current/logical-replication.html">PostgreSQL documentation</a>.
439-
Additionally, refer to the <a href="../cloudnative-pg.v1/#postgresql-cnpg-io-v1-PublicationTarget">CloudNativePG API reference</a>
440-
for details on declaratively customizing replication targets.</p>
444+
<p>If you are using PostgreSQL versions earlier than 15, review the syntax and
445+
options available for <code>CREATE PUBLICATION</code> in your specific release. Some
446+
parameters and features may not be supported.</p>
441447
</div>
448+
<p>For complex or tailored replication setups, refer to the
449+
<a href="https://www.postgresql.org/docs/current/logical-replication.html">PostgreSQL logical replication documentation</a>.</p>
450+
<p>Additionally, refer to the <a href="../cloudnative-pg.v1/#postgresql-cnpg-io-v1-PublicationTarget">CloudNativePG API reference</a>
451+
for details on declaratively customizing replication targets.</p>
452+
<p>The following example defines a publication that replicates all tables in the
453+
<code>portal</code> schema of the <code>app</code> database, along with the <code>users</code> table from the
454+
<code>access</code> schema:</p>
455+
<pre><code class="language-yaml">apiVersion: postgresql.cnpg.io/v1
456+
kind: Publication
457+
metadata:
458+
name: publisher
459+
spec:
460+
cluster:
461+
name: freddie
462+
dbname: app
463+
name: publisher
464+
target:
465+
objects:
466+
- tablesInSchema: portal
467+
- table:
468+
name: users
469+
schema: access
470+
</code></pre>
442471
<h3 id="required-fields-in-the-publication-manifest">Required Fields in the <code>Publication</code> Manifest</h3>
443472
<p>The following fields are required for a <code>Publication</code> object:</p>
444473
<ul>
@@ -656,7 +685,7 @@ <h3 id="step-1-setting-up-the-publisher-freddie">Step 1: Setting Up the Publishe
656685
spec:
657686
instances: 1
658687

659-
imageName: ghcr.io/cloudnative-pg/postgresql:16
688+
imageName: ghcr.io/cloudnative-pg/postgresql:16-standard-trixie
660689

661690
storage:
662691
size: 1Gi
@@ -700,6 +729,8 @@ <h3 id="step-2-setting-up-the-subscriber-king">Step 2: Setting Up the Subscriber
700729
spec:
701730
instances: 1
702731

732+
imageName: ghcr.io/cloudnative-pg/postgresql:18-standard-trixie
733+
703734
storage:
704735
size: 1Gi
705736

assets/documentation/1.27/monitoring/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ <h2 id="monitoring-instances">Monitoring Instances</h2>
383383
<div class="admonition important">
384384
<p class="admonition-title">Important</p>
385385
<p>CloudNativePG, by default, installs a set of <a href="#default-set-of-metrics">predefined metrics</a>
386-
in a <code>ConfigMap</code> named <code>default-monitoring</code>.</p>
386+
in a <code>ConfigMap</code> named <code>cnpg-default-monitoring</code>.</p>
387387
</div>
388388
<div class="admonition info">
389389
<p class="admonition-title">Info</p>

assets/documentation/1.27/replication/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ <h4 id="migrating-from-deprecated-synchronous-replication-implementation">Migrat
566566
maxSyncReplicas: 1
567567

568568
storage:
569-
size: 1G
569+
size: 1Gi
570570
</code></pre>
571571
<p>You can update it to the new format as follows:</p>
572572
<pre><code class="language-yaml">apiVersion: postgresql.cnpg.io/v1
@@ -577,7 +577,7 @@ <h4 id="migrating-from-deprecated-synchronous-replication-implementation">Migrat
577577
instances: 3
578578

579579
storage:
580-
size: 1G
580+
size: 1Gi
581581

582582
postgresql:
583583
synchronous:

assets/documentation/1.27/samples/cluster-example-syncreplicas-explicit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ spec:
1111
number: 2
1212

1313
storage:
14-
size: 1G
14+
size: 1Gi

assets/documentation/1.27/samples/cluster-example-syncreplicas-legacy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ spec:
99
maxSyncReplicas: 3
1010

1111
storage:
12-
size: 1G
12+
size: 1Gi

assets/documentation/1.27/samples/cluster-example-syncreplicas-quorum.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ spec:
1313
number: 1
1414

1515
storage:
16-
size: 1G
16+
size: 1Gi

assets/documentation/1.27/search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)