Updated docs and screenshots to cover the Notifications tab on the Query Tool. Fixes #4001

This commit is contained in:
Nidhi Bhammar authored and Akshay Joshi committed 2021-04-12 11:28:48 +05:30
1 parent 49095ccba6
commit 098ab9e428
5 files changed
+31

No files matched your search

+30
View File
@@ -258,6 +258,36 @@ query took to complete and how many rows were retrieved:
:alt: Query tool output information
:align: center
Notifications Panel
*******************
Use the *Notifications* tab to view the notifications using PostgreSQL *Listen/
Notify* feature. For more details see `PostgreSQL documentation <https://
www.postgresql.org/docs/current/sql-listen.html>`_.
Example:
1. Execute *LISTEN "foo"* in first *Query Tool* session
.. image:: images/query_output_notifications_listen.png
:alt: Query tool notifications listen
:align: center
2. In the another *Query Tool* session, execute *Notify* command or *pg_notify*
function to send the notification of the event together with the payload.
.. image:: images/query_output_notifications_notify.png
:alt: Query tool notifications notify
:align: center
3. You can observe the *Notification* tab in the first *Query Tool* session
where it shows the Recorded time, Event, Process ID, and the Payload of the
particular channel.
.. image:: images/query_output_notifications_panel.png
:alt: Query tool notifications panel
:align: center
Query History Panel
*******************