*** pgsql/src/backend/commands/async.c 2010/02/16 22:34:43 1.151 --- pgsql/src/backend/commands/async.c 2010/02/17 00:52:09 1.152 *************** *** 7,13 **** * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION ! * $PostgreSQL: pgsql/src/backend/commands/async.c,v 1.150 2010/01/02 16:57:36 momjian Exp $ * *------------------------------------------------------------------------- */ --- 7,13 ---- * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION ! * $PostgreSQL: pgsql/src/backend/commands/async.c,v 1.151 2010/02/16 22:34:43 tgl Exp $ * *------------------------------------------------------------------------- */ *************** *** 137,145 **** /* * Maximum size of a NOTIFY payload, including terminating NULL. This * must be kept small enough so that a notification message fits on one ! * SLRU page. */ ! #define NOTIFY_PAYLOAD_MAX_LENGTH 8000 /* * Struct representing an entry in the global notify queue --- 137,148 ---- /* * Maximum size of a NOTIFY payload, including terminating NULL. This * must be kept small enough so that a notification message fits on one ! * SLRU page. The magic fudge factor here is noncritical as long as it's ! * more than AsyncQueueEntryEmptySize --- we make it significantly bigger ! * than that, so changes in that data structure won't affect user-visible ! * restrictions. */ ! #define NOTIFY_PAYLOAD_MAX_LENGTH (BLCKSZ - NAMEDATALEN - 128) /* * Struct representing an entry in the global notify queue