Comunitatea PHP Romania
 

 
pg_listener

43.22. pg_listener

The catalog pg_listener supports the LISTEN and NOTIFY commands. A listener creates an entry in pg_listener for each notification name it is listening for. A notifier scans pg_listener and updates each matching entry to show that a notification has occurred. The notifier also sends a signal (using the PID recorded in the table) to awaken the listener from sleep.

Table 43-22. pg_listener Columns

NameTypeReferencesDescription
relnamename Notify condition name. (The name need not match any actual relation in the database; the name relname is historical.)  
listenerpidint4PID of the server process that created this entry 
notificationint4 Zero if no event is pending for this listener. If an event is pending, the PID of the server process that sent the notification  

Ultimele discutii in forum RSS Forum

Ultimele articole Ultimele articole

Newsletter


Email:
 inscriere
 renuntare
 
 Arhiva newsletter

Parteneriat

Copyright © 2001-2008 PHP Romania Add PHPRomania to Google Add PHPRomania to Del.icio.us Add PHPRomania to Stumbleupon Add PHPRomania to Yahoo! Add PHPRomania to Digg Add PHPRomania to Blink Mortgage Calculator | Car Insurance | Classical Christian Homeschooling | Mortgages | Mobile Phones
Ads: Partener Way2Web Nework: gazduire web | inregistrare domenii | web design | imobiliare | web hosting
Powered by Simplis