public inbox for [email protected]
help / color / mirror / Atom feedFrom: Erik Rijkers <[email protected]>
To: PostgreSQL Hackers <[email protected]>
Subject: event trigger sgml touch-up
Date: Mon, 16 Oct 2023 17:34:14 +0200
Message-ID: <[email protected]> (raw)
Some small (grammatical) changes in event-trigger.sgml
(also one delete of 'community-we' (which I think is just confusing for
the not-postgresql-community reader).
Erik
Attachments:
[text/x-patch] event-trigger.sgml.20231016.diff (1.6K, ../[email protected]/2-event-trigger.sgml.20231016.diff)
download | inline diff:
--- doc/src/sgml/event-trigger.sgml.orig 2023-10-16 17:16:00.017452340 +0200
+++ doc/src/sgml/event-trigger.sgml 2023-10-16 17:22:32.965450992 +0200
@@ -40,7 +40,7 @@
The <literal>login</literal> event occurs when an authenticated user logs
into the system. Any bug in a trigger procedure for this event may
prevent successful login to the system. Such bugs may be fixed by
- setting <xref linkend="guc-event-triggers"/> is set to <literal>false</literal>
+ setting <xref linkend="guc-event-triggers"/> to <literal>false</literal>
either in a connection string or configuration file. Alternative is
restarting the system in single-user mode (as event triggers are
disabled in this mode). See the <xref linkend="app-postgres"/> reference
@@ -49,8 +49,8 @@
To prevent servers from becoming inaccessible, such triggers must avoid
writing anything to the database when running on a standby.
Also, it's recommended to avoid long-running queries in
- <literal>login</literal> event triggers. Notes that, for instance,
- cancelling connection in <application>psql</application> wouldn't cancel
+ <literal>login</literal> event triggers. Note that, for instance,
+ cancelling a connection in <application>psql</application> wouldn't cancel
the in-progress <literal>login</literal> trigger.
</para>
@@ -1359,7 +1359,7 @@
END IF;
-- The checks below cannot be performed on standby servers so
--- ensure the database is not in recovery before we perform any
+-- ensure the database is not in recovery before performing any
-- operations.
SELECT pg_is_in_recovery() INTO rec;
IF rec THEN
view thread (2+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: event trigger sgml touch-up
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox