Re: [COMMITTERS] pgsql: Support frontend-backend protocol communication using a shm_mq.

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: Support frontend-backend protocol communication using a shm_mq.
Date: 2014-12-05 00:53:23
Message-ID: CA+TgmoZx45P8wc4ZJshKNM9eJvv-haa6ycqeNaj8gUMg-K0Yjw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Thu, Dec 4, 2014 at 4:15 PM, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> wrote:
> Robert Haas wrote:
>> Support frontend-backend protocol communication using a shm_mq.
>
> I just noticed that this patch broke the case where a standalone backend
> is sent a query that throws an error -- instead, we get a segmentation
> fault.

Ugh, sorry. Fixed.

> Example:
>
> echo "foobar" | postgres --single
> PostgreSQL stand-alone backend 9.5devel
> backend> Segmentation fault
>
> I guess we could have a src/test/modules subdir that tests simple stuff
> on standalone backends ...

Wouldn't hurt. Although it's not something that's likely to get
broken very often.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2014-12-05 09:44:53 pgsql: Fix pg_xlogdump's calculation of full-page image data.
Previous Message Robert Haas 2014-12-05 00:53:04 pgsql: Don't dump core if pq_comm_reset() is called before pq_init().

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2014-12-05 01:15:07 Re: Bugfix and new feature for PGXS
Previous Message Andres Freund 2014-12-05 00:31:47 Re: New wal format distorts pg_xlogdump --stats