Re: Listen / Notify rewrite

From: Andrew Chernow <ac(at)esilo(dot)com>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: Joachim Wieland <joe(at)mcknight(dot)de>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org, Andrew Chernow <andrew(at)esilo(dot)com>
Subject: Re: Listen / Notify rewrite
Date: 2009-11-12 15:09:05
Message-ID: 4AFC2511.7000204@esilo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


>
> What advantage is there in limiting it to a tiny size? This is a
> 'payload' after all...an arbitrary data block. Looking at the patch I
> noticed the payload structure (AsyncQueueEntry) is fixed length and
> designed to lay into QUEUE_PAGESIZE (set to) BLCKSZ sized pages.
>

Hmmmm. Looks like the limitation comes from slru. The true payload
limit is (8K - struct members) the way this is implemented.

--
Andrew Chernow
eSilo, LLC
every bit counts
http://www.esilo.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua Tolley 2009-11-12 15:21:29 Re: plperl and inline functions -- first draft
Previous Message Marko Kreen 2009-11-12 15:01:40 Re: recovery is stuck when children are not processing SIGQUIT from previous crash