Skip to content

Commit b7fd291

Browse files
committed
Consistently use read-only instead of "read only"
This affects one message and some documentation that used the format "read only", unlike everything else that used read-only. Backpatch-through: 14 Discussion: https://postgr.es/m/CABUevExuxKwn0YM3+wdSeQSvK6CRrJ-hewocGVX3R4-xVX4eMw@mail.gmail.com
1 parent 8b89537 commit b7fd291

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

doc/src/sgml/catalogs.sgml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9600,7 +9600,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
96009600
</table>
96019601

96029602
<para>
9603-
The <structname>pg_available_extensions</structname> view is read only.
9603+
The <structname>pg_available_extensions</structname> view is read-only.
96049604
</para>
96059605
</sect1>
96069606

@@ -9724,8 +9724,8 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
97249724
</table>
97259725

97269726
<para>
9727-
The <structname>pg_available_extension_versions</structname> view is read
9728-
only.
9727+
The <structname>pg_available_extension_versions</structname> view is
9728+
read-only.
97299729
</para>
97309730
</sect1>
97319731

@@ -10040,7 +10040,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
1004010040
</table>
1004110041

1004210042
<para>
10043-
The <structname>pg_cursors</structname> view is read only.
10043+
The <structname>pg_cursors</structname> view is read-only.
1004410044
</para>
1004510045

1004610046
</sect1>
@@ -11162,7 +11162,7 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
1116211162
</table>
1116311163

1116411164
<para>
11165-
The <structname>pg_prepared_statements</structname> view is read only.
11165+
The <structname>pg_prepared_statements</structname> view is read-only.
1116611166
</para>
1116711167
</sect1>
1116811168

doc/src/sgml/high-availability.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,7 +1093,7 @@ primary_slot_name = 'node_a_slot'
10931093
</para>
10941094

10951095
<para>
1096-
Read only transactions and transaction rollbacks need not wait for
1096+
Read-only transactions and transaction rollbacks need not wait for
10971097
replies from standby servers. Subtransaction commits do not wait for
10981098
responses from standby servers, only top-level commits. Long
10991099
running actions such as data loading or index building do not wait
@@ -1962,7 +1962,7 @@ LOG: entering standby mode
19621962
... then some time later ...
19631963

19641964
LOG: consistent recovery state reached
1965-
LOG: database system is ready to accept read only connections
1965+
LOG: database system is ready to accept read-only connections
19661966
</programlisting>
19671967

19681968
Consistency information is recorded once per checkpoint on the primary.
@@ -2191,7 +2191,7 @@ HINT: You can then restart the server after making the necessary configuration
21912191
</para>
21922192

21932193
<para>
2194-
Currently, temporary table creation is not allowed during read only
2194+
Currently, temporary table creation is not allowed during read-only
21952195
transactions, so in some cases existing scripts will not run correctly.
21962196
This restriction might be relaxed in a later release. This is
21972197
both an SQL Standard compliance issue and a technical issue.
@@ -2290,7 +2290,7 @@ HINT: You can then restart the server after making the necessary configuration
22902290
<para>
22912291
Full knowledge of running transactions is required before snapshots
22922292
can be taken. Transactions that use large numbers of subtransactions
2293-
(currently greater than 64) will delay the start of read only
2293+
(currently greater than 64) will delay the start of read-only
22942294
connections until the completion of the longest running write transaction.
22952295
If this situation occurs, explanatory messages will be sent to the server log.
22962296
</para>

doc/src/sgml/mvcc.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ ERROR: could not serialize access due to concurrent update
526526
transaction sees a completely stable view of the database. However,
527527
this view will not necessarily always be consistent with some serial
528528
(one at a time) execution of concurrent transactions of the same level.
529-
For example, even a read only transaction at this level may see a
529+
For example, even a read-only transaction at this level may see a
530530
control record updated to show that a batch has been completed but
531531
<emphasis>not</emphasis> see one of the detail records which is logically
532532
part of the batch because it read an earlier revision of the control

src/backend/postmaster/postmaster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5204,7 +5204,7 @@ sigusr1_handler(SIGNAL_ARGS)
52045204
PgStatPID = pgstat_start();
52055205

52065206
ereport(LOG,
5207-
(errmsg("database system is ready to accept read only connections")));
5207+
(errmsg("database system is ready to accept read-only connections")));
52085208

52095209
/* Report status */
52105210
AddToDataDirLockFile(LOCK_FILE_LINE_PM_STATUS, PM_STATUS_READY);

0 commit comments

Comments
 (0)