Class PgCancel.

Inherits PgClientMessage

C: A client issues this message on a new connection to cancel queries.

This message is sent instead of the normal PgStartup message. It consists of an Int32 magic number, followed by the Int32 pid of the target backend, and the Int32 cancellation key (as received from the backend in PgKeyData).

PgCancel::PgCancel( PgKeyData * key )

Creates a cancellation request from the given key data.

This web page based on source code belonging to The Archiveopteryx Developers. All rights reserved.