pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Igal Sapir <igal@lucee.org>
Cc: Psql_General (E-mail) <pgsql-general@postgresql.org>
Subject: Re: Connecting to NOTIFY with telnet
Date: Fri, 3 May 2019 13:09:59 -0700
Message-ID: <20190503200959.cccciim62iidyj3j@alap3.anarazel.de> (raw)
In-Reply-To: <CA+zig0-KiJde=ukJ=ozSFEMrp2f6Q6YRpb6r_+h6806=Vt_67A@mail.gmail.com>
References: <CA+zig0-KiJde=ukJ=ozSFEMrp2f6Q6YRpb6r_+h6806=Vt_67A@mail.gmail.com>

Hi,

On 2019-05-03 11:06:09 -0700, Igal Sapir wrote:
> Is it possible to connect to Postgres for notifications via telnet?  This
> is obviously more for learning/experimenting purposes.

No. The protocol is too complicated to make that realistically doable /
useful.


> I expected a simple way to connect and consume notifications but can not
> find any example or documentation on how to do that.

If you really wanted to go down that road, you'd have to read the
protocol specs. It'd not make sense to document how-to steps for
something as low-level as this.

Greetings,

Andres Freund





view thread (9+ messages)  latest in thread

Message-ID: <20190503200959.cccciim62iidyj3j@alap3.anarazel.de>
Permalink:  ../20190503200959.cccciim62iidyj3j@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20190503200959.cccciim62iidyj3j@alap3.anarazel.de

 · 

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-general@postgresql.org
  Cc: andres@anarazel.de, igal@lucee.org
  Subject: Re: Connecting to NOTIFY with telnet
  In-Reply-To: <20190503200959.cccciim62iidyj3j@alap3.anarazel.de>
  References: <CA+zig0-KiJde=ukJ=ozSFEMrp2f6Q6YRpb6r_+h6806=Vt_67A@mail.gmail.com> <20190503200959.cccciim62iidyj3j@alap3.anarazel.de>

* 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