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(-)