Re: Portal->commandTag as an enum

Alvaro Herrera <alvherre@2ndquadrant.com>

From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Mark Dilger <mark.dilger@enterprisedb.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, John Naylor <john.naylor@2ndquadrant.com>, Andres Freund <andres@anarazel.de>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2020-03-02T16:53:56Z
Lists: pgsql-hackers

Attachments

Here's the patch I propose for commit.  I also rewrote the commit
message.

There are further refinements that can be done, but they don't need to
be in the first patch.  Notably, the event trigger code can surely do a
lot better now by translating the tag list to a bitmapset earlier.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Commits

  1. Update comment

  2. Represent command completion tags as structs