unlisten.7

来自「PostgreSQL 8.2中增加了很多企业用户所需要的功能和性能上的提高,其开」· 7 代码 · 共 65 行

7
65
字号
.\\" auto-generated by docbook2man-spec $Revision: 1.1.1.1 $.TH "UNLISTEN" "" "2008-01-03" "SQL - Language Statements" "SQL Commands".SH NAMEUNLISTEN \- stop listening for a notification.SH SYNOPSIS.sp.nfUNLISTEN { \fIname\fR | * }.sp.fi.SH "DESCRIPTION".PP\fBUNLISTEN\fR is used to remove an existingregistration for \fBNOTIFY\fR events.\fBUNLISTEN\fR cancels any existing registration ofthe current PostgreSQL session as alistener on the notification \fIname\fR. The special wildcard* cancels all listener registrations for thecurrent session..PPNOTIFY [\fBnotify\fR(7)]contains a more extensivediscussion of the use of \fBLISTEN\fR and\fBNOTIFY\fR..SH "PARAMETERS".TP\fB\fIname\fB\fRName of a notification (any identifier)..TP\fB*\fRAll current listen registrations for this session are cleared..SH "NOTES".PPYou may unlisten something you were not listening for; no warning or errorwill appear..PPAt the end of each session, \fBUNLISTEN *\fR isautomatically executed..SH "EXAMPLES".PPTo make a registration:.sp.nfLISTEN virtual;NOTIFY virtual;Asynchronous notification "virtual" received from server process with PID 8448..sp.fi.PPOnce \fBUNLISTEN\fR has been executed, further \fBNOTIFY\fRcommands will be ignored:.sp.nfUNLISTEN virtual;NOTIFY virtual;-- no NOTIFY event is received.sp.fi.SH "COMPATIBILITY".PPThere is no \fBUNLISTEN\fR command in the SQL standard..SH "SEE ALSO"LISTEN [\fBlisten\fR(7)], NOTIFY [\fBnotify\fR(l)]

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?