Re: Connecting to NOTIFY with telnet

From: Andres Freund <andres(at)anarazel(dot)de>
To: Igal Sapir <igal(at)lucee(dot)org>
Cc: "Psql_General (E-mail)" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Connecting to NOTIFY with telnet
Date: 2019-05-03 20:09:59
Message-ID: 20190503200959.cccciim62iidyj3j@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message pabloa98 2019-05-03 20:59:42 Re: Migrating database(s) from Sybase ASE 15.7 to PostgreSQL 10.6 on Linux
Previous Message Adrian Klaver 2019-05-03 19:49:33 Re: error fsm relations