<term><literal>CONNECTION '<replaceable class="parameter">conninfo</replaceable>'</literal></term>
<listitem>
<para>
- The connection string to the publisher.
+ The connection string to the publisher. For details
+ see <xref linkend="libpq-connstring">.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
+ <refsect1>
+ <title>Notes</title>
+
+ <para>
+ See <xref linkend="streaming-replication-authentication"> for details on
+ how to configure access control between the subscription and the
+ publication instance.
+ </para>
+ </refsect1>
+
<refsect1>
<title>Examples</title>
commit:
<programlisting>
CREATE SUBSCRIPTION mysub
- CONNECTION 'host=192.168.1.50 port=5432 user=foo dbname=foodb password=foopass'
+ CONNECTION 'host=192.168.1.50 port=5432 user=foo dbname=foodb'
PUBLICATION mypublication, insert_only;
</programlisting>
</para>
until enabled at a later time.
<programlisting>
CREATE SUBSCRIPTION mysub
- CONNECTION 'host=192.168.1.50 port=5432 user=foo dbname=foodb password=foopass'
+ CONNECTION 'host=192.168.1.50 port=5432 user=foo dbname=foodb'
PUBLICATION insert_only
WITH (DISABLED);
</programlisting>