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

From Robert Haas
Subject Re: [COMMITTERS] pgsql: Support frontend-backend protocol communication using a shm_mq.
Date
Msg-id CA+TgmoZx45P8wc4ZJshKNM9eJvv-haa6ycqeNaj8gUMg-K0Yjw@mail.gmail.com
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Support frontend-backend protocol communication using a shm_mq.  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
On Thu, Dec 4, 2014 at 4:15 PM, Alvaro Herrera <alvherre@2ndquadrant.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



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: New wal format distorts pg_xlogdump --stats
Next
From: Peter Eisentraut
Date:
Subject: Re: Bugfix and new feature for PGXS