@@ -147,16 +147,16 @@ after the transaction is completed (either committed or aborted). Again, the
147
147
reasoning is that if a notify were delivered within a transaction that was
148
148
later aborted, one would want the notification to be undone somehow --- but
149
149
the backend cannot "take back" a notify once it has sent it to the frontend.
150
- So notify events are delivered only between transactions. The upshot of this
150
+ So notify events are only delivered between transactions. The upshot of this
151
151
is that applications using <command>NOTIFY</command> for real-time signaling
152
152
should try to keep their transactions short.
153
153
154
154
<para>
155
- <command>NOTIFY</command> behaves rather like Unix signals in one important
156
- respect: if the same notify name is signaled multiple times in quick
155
+ <command>NOTIFY</command> behaves like Unix signals in one important
156
+ respect: if the same condition name is signaled multiple times in quick
157
157
succession, recipients may get only one notify event for several executions
158
158
of <command>NOTIFY</command>. So it is a bad idea to depend on the number
159
- of notifies received; instead use <command>NOTIFY</command> to wake up
159
+ of notifies received. Instead, use <command>NOTIFY</command> to wake up
160
160
applications that need to pay attention to something, and use a database
161
161
object (such as a sequence) to keep track of what happened or how many times
162
162
it happened.
@@ -201,8 +201,8 @@ table name, even if syntactically valid as a name. That is no longer required.
201
201
202
202
<para>
203
203
In <productname>Postgres</productname> releases prior to 6.4, the backend
204
- PID delivered in a notify message is always the PID of the frontend's own
205
- backend. So it is not possible to distinguish one's own notifies from other
204
+ PID delivered in a notify message was always the PID of the frontend's own
205
+ backend. So it was not possible to distinguish one's own notifies from other
206
206
clients' notifies in those earlier releases.
207
207
208
208
</REFSECT2>
0 commit comments