pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Give more accurate error message for dropping pinned portal
Date: Wed, 10 Jan 2018 14:28:52 +0000
Message-ID: <E1eZHN6-0001Fv-VP@gemulon.postgresql.org> (raw)

Give more accurate error message for dropping pinned portal

The previous code gave the same error message for attempting to drop
pinned and active portals, but those are separate states, so give
separate error messages.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/acc67ffd0a8c728b928958e75b76ee544b64c2d8

Modified Files
--------------
src/backend/utils/mmgr/portalmem.c | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)



Message-ID: <E1eZHN6-0001Fv-VP@gemulon.postgresql.org>
Permalink:  ../E1eZHN6-0001Fv-VP@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1eZHN6-0001Fv-VP@gemulon.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-committers@postgresql.org
  Cc: peter_e@gmx.net
  Subject: Re: pgsql: Give more accurate error message for dropping pinned portal
  In-Reply-To: <E1eZHN6-0001Fv-VP@gemulon.postgresql.org>
  References: <E1eZHN6-0001Fv-VP@gemulon.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