pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: jedwards@fastmail.com
Subject: BUG #15558: NOTIFY max channel length is undocumented
Date: Wed, 19 Dec 2018 00:28:35 +0000
Message-ID: <15558-996f38aafa654215@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      15558
Logged by:          Andy Edwards
Email address:      jedwards@fastmail.com
PostgreSQL version: 11.1
Operating system:   (irrelevant)
Description:        

After debugging why notifications weren't getting delivered, I discovered
the following:

# LISTEN "pg/tables/TagNotificationTriggers/tag/_org/1/JSON
Test/battery/1/lifetimeWh";
NOTICE:  identifier "pg/tables/TagNotificationTriggers/tag/_org/1/JSON
Test/battery/1/lifetimeWh" will be truncated to
"pg/tables/TagNotificationTriggers/tag/_org/1/JSON Test/battery/"

I haven't seen a mention of this channel length limit in any version of the
documentation for NOTIFY.  I wish it were in the documentation, because then
I would have found out about this limit before deciding to use Postgres
notifications, and chosen to use Redis notifications from the beginning.



view thread (3+ messages)  latest in thread

Message-ID: <15558-996f38aafa654215@postgresql.org>
Permalink:  ../15558-996f38aafa654215@postgresql.org/
Also on:    postgresql.org/message-id/15558-996f38aafa654215@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, jedwards@fastmail.com
  Subject: Re: BUG #15558: NOTIFY max channel length is undocumented
  In-Reply-To: <15558-996f38aafa654215@postgresql.org>
  References: <15558-996f38aafa654215@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox