Re: Portal->commandTag as an enum - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Portal->commandTag as an enum
Date
Msg-id 20200228224030.GA29780@alvherre.pgsql
Whole thread Raw
In response to Re: Portal->commandTag as an enum  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: Portal->commandTag as an enum
List pgsql-hackers
On 2020-Feb-28, Alvaro Herrera wrote:

> On 2020-Feb-21, John Naylor wrote:
> 
> > Thinking about this some more, would it be possible to treat these
> > like we do parser/kwlist.h? Something like this:
> > 
> > commandtag_list.h:
> > PG_COMMANDTAG(ALTER_ACCESS_METHOD, "ALTER ACCESS METHOD", true, false,
> > false, false)
> > ...
> 
> I liked this idea, so I'm halfway on it now.

Here.

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

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Less-silly selectivity for JSONB matching operators
Next
From: Alvaro Herrera
Date:
Subject: Re: Portal->commandTag as an enum