pgsql: Make NOTIFY_PAYLOAD_MAX_LENGTH depend explicitly on BLCKSZ and

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make NOTIFY_PAYLOAD_MAX_LENGTH depend explicitly on BLCKSZ and
Date: 2010-02-17 00:52:09
Message-ID: 20100217005209.8FDF47541C5@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Make NOTIFY_PAYLOAD_MAX_LENGTH depend explicitly on BLCKSZ and
NAMEDATALEN, so this code doesn't go nuts with smaller than default
BLCKSZ or larger than default NAMEDATALEN. The standard value is
still exactly 8000.

Modified Files:
--------------
pgsql/src/backend/commands:
async.c (r1.151 -> r1.152)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/async.c?r1=1.151&r2=1.152)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2010-02-17 00:57:06 pgsql: Tweak description of payload parameter.
Previous Message Tom Lane 2010-02-16 22:34:57 pgsql: Replace the pg_listener-based LISTEN/NOTIFY mechanism with an