- prepared for other asynchronous message types as well (see
- linkend="protocol-async">). Otherwise, any message type other than
+ It is possible for NoticeResponse and ParameterStatus messages to be
+ interspersed between CopyData messages; frontends must handle these cases,
+ and should be prepared for other asynchronous message types as well (see
+ linkend="protocol-async">). Otherwise, any message type other than
CopyData or CopyDone may be treated as terminating copy-out mode.
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/interfaces/libpq/fe-protocol3.c,v 1.32 2008/01/14 18:46:17 tgl Exp $
+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-protocol3.c,v 1.33 2008/01/15 22:18:20 tgl Exp $
*
*-------------------------------------------------------------------------
*/
/*
* If it's a legitimate async message type, process it. (NOTIFY
* messages are not currently possible here, but we handle them for
- * completeness. NOTICE is definitely possible, and ParameterStatus
- * could probably be made to happen.) Otherwise, if it's anything
- * except Copy Data, report end-of-copy.
+ * completeness.) Otherwise, if it's anything except Copy Data,
+ * report end-of-copy.
*/
switch (id)
{