Skip to content

Commit 481a811

Browse files
Updated examples to specify scheme (#22022)
Updated examples to include postgresql:// in order to specify scheme
1 parent 0877551 commit 481a811

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/current/v25.2/set-up-logical-data-replication.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ You can use the `cockroach encode-uri` command to generate a connection string c
187187

188188
{% include_cached copy-clipboard.html %}
189189
~~~ shell
190-
cockroach encode-uri {user}:{password}@{node IP}:26257 --ca-cert {path to CA certificate} --inline
190+
cockroach encode-uri postgresql://{user}:{password}@{node IP}:26257 --ca-cert {path to CA certificate} --inline
191191
~~~
192192

193193
The connection string output contains the source cluster's certificate:
@@ -224,7 +224,7 @@ Once the source cluster has made a connection to the destination cluster, the de
224224

225225
{% include_cached copy-clipboard.html %}
226226
~~~ shell
227-
cockroach encode-uri {user}:{password}@{node IP}:26257 --ca-cert {path to CA certificate} --inline
227+
cockroach encode-uri postgresql://{user}:{password}@{node IP}:26257 --ca-cert {path to CA certificate} --inline
228228
~~~
229229

230230
The connection string output contains the source cluster's certificate:

src/current/v25.3/set-up-logical-data-replication.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ You can use the `cockroach encode-uri` command to generate a connection string c
187187

188188
{% include_cached copy-clipboard.html %}
189189
~~~ shell
190-
cockroach encode-uri {user}:{password}@{node IP}:26257 --ca-cert {path to CA certificate} --inline
190+
cockroach encode-uri postgresql://{user}:{password}@{node IP}:26257 --ca-cert {path to CA certificate} --inline
191191
~~~
192192

193193
The connection string output contains the source cluster's certificate:
@@ -224,7 +224,7 @@ Once the source cluster has made a connection to the destination cluster, the de
224224

225225
{% include_cached copy-clipboard.html %}
226226
~~~ shell
227-
cockroach encode-uri {user}:{password}@{node IP}:26257 --ca-cert {path to CA certificate} --inline
227+
cockroach encode-uri postgresql://{user}:{password}@{node IP}:26257 --ca-cert {path to CA certificate} --inline
228228
~~~
229229

230230
The connection string output contains the source cluster's certificate:

src/current/v25.4/set-up-logical-data-replication.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ You can use the `cockroach encode-uri` command to generate a connection string c
187187

188188
{% include_cached copy-clipboard.html %}
189189
~~~ shell
190-
cockroach encode-uri {user}:{password}@{node IP}:26257 --ca-cert {path to CA certificate} --inline
190+
cockroach encode-uri postgresql://{user}:{password}@{node IP}:26257 --ca-cert {path to CA certificate} --inline
191191
~~~
192192

193193
The connection string output contains the source cluster's certificate:
@@ -224,7 +224,7 @@ Once the source cluster has made a connection to the destination cluster, the de
224224

225225
{% include_cached copy-clipboard.html %}
226226
~~~ shell
227-
cockroach encode-uri {user}:{password}@{node IP}:26257 --ca-cert {path to CA certificate} --inline
227+
cockroach encode-uri postgresql://{user}:{password}@{node IP}:26257 --ca-cert {path to CA certificate} --inline
228228
~~~
229229

230230
The connection string output contains the source cluster's certificate:

src/current/v26.1/set-up-logical-data-replication.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ You can use the `cockroach encode-uri` command to generate a connection string c
187187

188188
{% include_cached copy-clipboard.html %}
189189
~~~ shell
190-
cockroach encode-uri {user}:{password}@{node IP}:26257 --ca-cert {path to CA certificate} --inline
190+
cockroach encode-uri postgresql://{user}:{password}@{node IP}:26257 --ca-cert {path to CA certificate} --inline
191191
~~~
192192

193193
The connection string output contains the source cluster's certificate:
@@ -224,7 +224,7 @@ Once the source cluster has made a connection to the destination cluster, the de
224224

225225
{% include_cached copy-clipboard.html %}
226226
~~~ shell
227-
cockroach encode-uri {user}:{password}@{node IP}:26257 --ca-cert {path to CA certificate} --inline
227+
cockroach encode-uri postgresql://{user}:{password}@{node IP}:26257 --ca-cert {path to CA certificate} --inline
228228
~~~
229229

230230
The connection string output contains the source cluster's certificate:

0 commit comments

Comments
 (0)