Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
f1fef841
Commit
f1fef841
authored
Oct 08, 1998
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Grammar, my boy, grammar :-(
parent
af5d6b4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
doc/src/sgml/ref/notify.sgml
doc/src/sgml/ref/notify.sgml
+6
-6
No files found.
doc/src/sgml/ref/notify.sgml
View file @
f1fef841
...
@@ -147,16 +147,16 @@ after the transaction is completed (either committed or aborted). Again, the
...
@@ -147,16 +147,16 @@ after the transaction is completed (either committed or aborted). Again, the
reasoning is that if a notify were delivered within a transaction that was
reasoning is that if a notify were delivered within a transaction that was
later aborted, one would want the notification to be undone somehow --- but
later aborted, one would want the notification to be undone somehow --- but
the backend cannot "take back" a notify once it has sent it to the frontend.
the backend cannot "take back" a notify once it has sent it to the frontend.
So notify events are
delivered only
between transactions. The upshot of this
So notify events are
only delivered
between transactions. The upshot of this
is that applications using <command>NOTIFY</command> for real-time signaling
is that applications using <command>NOTIFY</command> for real-time signaling
should try to keep their transactions short.
should try to keep their transactions short.
<para>
<para>
<command>NOTIFY</command> behaves
rather
like Unix signals in one important
<command>NOTIFY</command> behaves like Unix signals in one important
respect: if the same
notify
name is signaled multiple times in quick
respect: if the same
condition
name is signaled multiple times in quick
succession, recipients may get only one notify event for several executions
succession, recipients may get only one notify event for several executions
of <command>NOTIFY</command>. So it is a bad idea to depend on the number
of <command>NOTIFY</command>. So it is a bad idea to depend on the number
of notifies received
; instead
use <command>NOTIFY</command> to wake up
of notifies received
. Instead,
use <command>NOTIFY</command> to wake up
applications that need to pay attention to something, and use a database
applications that need to pay attention to something, and use a database
object (such as a sequence) to keep track of what happened or how many times
object (such as a sequence) to keep track of what happened or how many times
it happened.
it happened.
...
@@ -201,8 +201,8 @@ table name, even if syntactically valid as a name. That is no longer required.
...
@@ -201,8 +201,8 @@ table name, even if syntactically valid as a name. That is no longer required.
<para>
<para>
In <productname>Postgres</productname> releases prior to 6.4, the backend
In <productname>Postgres</productname> releases prior to 6.4, the backend
PID delivered in a notify message
i
s always the PID of the frontend's own
PID delivered in a notify message
wa
s always the PID of the frontend's own
backend. So it
i
s not possible to distinguish one's own notifies from other
backend. So it
wa
s not possible to distinguish one's own notifies from other
clients' notifies in those earlier releases.
clients' notifies in those earlier releases.
</REFSECT2>
</REFSECT2>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment