Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

unlisten(7) [suse man page]

UNLISTEN(7)							   SQL Commands 						       UNLISTEN(7)

NAME
UNLISTEN - stop listening for a notification SYNOPSIS
UNLISTEN { name | * } DESCRIPTION
UNLISTEN is used to remove an existing registration for NOTIFY events. UNLISTEN cancels any existing registration of the current Post- greSQL session as a listener on the notification name. The special wildcard * cancels all listener registrations for the current session. NOTIFY [notify(7)] contains a more extensive discussion of the use of LISTEN and NOTIFY. PARAMETERS
name Name of a notification (any identifier). * All current listen registrations for this session are cleared. NOTES
You can unlisten something you were not listening for; no warning or error will appear. At the end of each session, UNLISTEN * is automatically executed. EXAMPLES
To make a registration: LISTEN virtual; NOTIFY virtual; Asynchronous notification "virtual" received from server process with PID 8448. Once UNLISTEN has been executed, further NOTIFY commands will be ignored: UNLISTEN virtual; NOTIFY virtual; -- no NOTIFY event is received COMPATIBILITY
There is no UNLISTEN command in the SQL standard. SEE ALSO
LISTEN [listen(7)], NOTIFY [notify(7)] SQL - Language Statements 2010-05-14 UNLISTEN(7)

Check Out this Related Man Page

UNLISTEN(7)							   SQL Commands 						       UNLISTEN(7)

NAME
UNLISTEN - stop listening for a notification SYNOPSIS
UNLISTEN { notifyname | * } INPUTS notifyname Name of previously registered notify condition. * All current listen registrations for this backend are cleared. OUTPUTS UNLISTEN Acknowledgment that statement has executed. DESCRIPTION
UNLISTEN is used to remove an existing NOTIFY registration. UNLISTEN cancels any existing registration of the current PostgreSQL session as a listener on the notify condition notifyname. The special condition wildcard * cancels all listener registrations for the current ses- sion. NOTIFY [notify(7)] contains a more extensive discussion of the use of LISTEN and NOTIFY. NOTES notifyname need not be a valid class name but can be any string valid as a name up to 64 characters long. The backend does not complain if you unlisten something you were not listening for. Each backend will automatically execute UNLISTEN * when exiting. USAGE
To subscribe to an existing registration: LISTEN virtual; LISTEN NOTIFY virtual; NOTIFY Asynchronous NOTIFY 'virtual' from backend with pid '8448' received Once UNLISTEN has been executed, further NOTIFY commands will be ignored: UNLISTEN virtual; UNLISTEN NOTIFY virtual; NOTIFY -- notice no NOTIFY event is received COMPATIBILITY
SQL92 There is no UNLISTEN in SQL92. SQL - Language Statements 2002-11-22 UNLISTEN(7)
Man Page

11 More Discussions You Might Find Interesting

1. What is on Your Mind?

So... What are you listening to?

Hi guys, lets make this more interesting... I'm sure you listen to something when your working on a project or something... I know, I do, helps with concentration. Track: ±¯¸èÖ®Íõ (King of sad songs) Artist: -îǧ‹Ã Miriam Yeung Lovely forum BTW! :D (33 Replies)
Discussion started by: hype.it
33 Replies

2. IP Networking

Socket programming and virtual IP

Hi All, I am new to this group, I am developing a tool to simulate 1000 devices. I am creating 1000 virtual IP i want to listen to all these virtual IP's. How can i do this in using sockets. Any help regarding this is appriciated. Thank You ALL, (2 Replies)
Discussion started by: bodu_blr
2 Replies

3. Post Here to Contact Site Administrators and Moderators

How to delete registration please?

How do I delete my registration please? (1 Reply)
Discussion started by: amaitland
1 Replies

4. What is on Your Mind?

What are you listening to right now?

This is has been posted many times before... It is not in this forum as of now, so I have decided to put it here :D I'm listening to The Outsiders (AKA Hell is for Heros Part I) by Modern Life is War.... what about ya'll? (4 Replies)
Discussion started by: Mars8082686
4 Replies

5. UNIX for Dummies Questions & Answers

Notify Command.

Hi, I am using the NOTIFY command and I am getting the emails.. I tried MAILX and e-mail is being sent. I want to use NOTIFY to see if my jobs are completed or not. Am I missing something.. All your ideas are greatly appreciated.. Thanks Venky (2 Replies)
Discussion started by: venkyA
2 Replies

6. Forum Support Area for Unregistered Users & Account Problems

Unable to register

I tried registering couple of times, and got the following message. Sorry, registration denied. We check new registrations against a database of known forum spammers. At this time, we are unable to contact this database to verify your registration. We are sorry for the inconvenience but please... (0 Replies)
Discussion started by: josvasanth
0 Replies

7. Forum Support Area for Unregistered Users & Account Problems

Unable to register

I tried registering couple of times, and got the following message. "Sorry, registration denied. We check new registrations against a database of known forum spammers. At this time, we are unable to contact this database to verify your registration. ...you might want to try searching the... (1 Reply)
Discussion started by: cherry_sas
1 Replies

8. Shell Programming and Scripting

To get Port number alone from the list

~]#netstat -vatn | grep LISTEN tcp 0 0 0.0.0.0:34895 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp 0 0 192.168.122.1:53 0.0.0.0:* LISTEN ... (7 Replies)
Discussion started by: linuxadmin
7 Replies

9. Programming

How to put variable date from SQL Script

Hi Guys, Can someone please help me on adding/inserting a variable to an sql scipt? Basically I want to assign today's date. As shown below.. set head off; set linesize 300; set pagesize 200; spool /opt/oracle/temp/output.txt select value,count(*) as totalcount from pmowner.pinpebasev... (11 Replies)
Discussion started by: pinpe
11 Replies

10. Ubuntu

PID of listening ports

I ran 'sudo netstat -ntpl' and got the following without PID tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:38977 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:34253 ... (3 Replies)
Discussion started by: tt77
3 Replies

11. Post Here to Contact Site Administrators and Moderators

Query regarding the notification i got

Hi, I got a notification today carrying the below message: Dear Manish00712, You have received a reminder from The UNIX and Linux Forums. Reason: ------- Technical Question in Non-Technical Forum. I had posted one question in Solaris Forum. I do not understand on why did i get this... (1 Reply)
Discussion started by: Manish00712
1 Replies