Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitec7e053

Browse files
committed
Doc: clarify behavior of boolean options in replication commands.
defGetBoolean() allows the "value" part of "option = value"syntax to be omitted, in which case it's taken as "true".This is acknowledged in our syntax summaries for relevant commands,but we don't seem to have documented the actual behavior anywhere.Do so for CREATE/ALTER PUBLICATION/SUBSCRIPTION. Use genericboilerplate text for this, with the idea that we can copy-and-pasteit into other relevant reference pages, whenever someone getsaround to that.Peter Smith, edited a bit by meDiscussion:https://postgr.es/m/CAHut+PvwjZfdGt2R8HTXgSZft=jZKymrS8KUg31pS7zqaaWKKw@mail.gmail.com
1 parentfe9e658 commitec7e053

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

‎doc/src/sgml/ref/alter_subscription.sgml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,13 @@ ALTER SUBSCRIPTION <replaceable class="parameter">name</replaceable> RENAME TO <
277277
</listitem>
278278
</varlistentry>
279279
</variablelist>
280+
281+
<para>
282+
When specifying a parameter of type <type>boolean</type>, the
283+
<literal>=</literal> <replaceable class="parameter">value</replaceable>
284+
part can be omitted, which is equivalent to
285+
specifying <literal>TRUE</literal>.
286+
</para>
280287
</refsect1>
281288

282289
<refsect1>

‎doc/src/sgml/ref/create_publication.sgml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,13 @@ CREATE PUBLICATION <replaceable class="parameter">name</replaceable>
217217
</varlistentry>
218218

219219
</variablelist>
220+
221+
<para>
222+
When specifying a parameter of type <type>boolean</type>, the
223+
<literal>=</literal> <replaceable class="parameter">value</replaceable>
224+
part can be omitted, which is equivalent to
225+
specifying <literal>TRUE</literal>.
226+
</para>
220227
</refsect1>
221228

222229
<refsect1>

‎doc/src/sgml/ref/create_subscription.sgml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,13 @@ CREATE SUBSCRIPTION <replaceable class="parameter">subscription_name</replaceabl
354354
</listitem>
355355
</varlistentry>
356356
</variablelist>
357+
358+
<para>
359+
When specifying a parameter of type <type>boolean</type>, the
360+
<literal>=</literal> <replaceable class="parameter">value</replaceable>
361+
part can be omitted, which is equivalent to
362+
specifying <literal>TRUE</literal>.
363+
</para>
357364
</refsect1>
358365

359366
<refsect1 id="sql-createsubscription-notes" xreflabel="Notes">

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp