Firebird 2.0
PSQL Reference
Manual

POST_EVENT STATEMENT

Pupose

Use the POST_EVENT statement to signal a named event to the user application.

Syntax

<post_event_stmt> ::=
   POST_EVENT <psql_expr>;


Element
Description
psql_expr

A PSQL expression evaluating to a string value

Semantics

POST_EVENT posts an event to the event manager. When an event occurs, this statement will notify the event manager, which alerts applications waiting for the named event.

The event name can be a maximum of 78 characters in length.

Examples

The below example shows a valid use of the POST_EVENT statement:

   POST_EVENT 'currency_table_updated'


See also

See the C/C++ Programming Manual for more information on handling events received by your application.


previous page goto index next page

Legal information