Re: Portal->commandTag as an enum
Alvaro Herrera <alvherre@2ndquadrant.com>
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: John Naylor <john.naylor@2ndquadrant.com>
Cc: Mark Dilger <mark.dilger@enterprisedb.com>, Andres Freund <andres@anarazel.de>, Tom Lane <tgl@sss.pgh.pa.us>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2020-02-28T22:40:30Z
Lists: pgsql-hackers
Attachments
- v6-0001-Migrating-commandTag-from-string-to-enum.patch (text/x-diff)
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
Commits
-
Update comment
- b234b567ed74 13.0 landed
-
Represent command completion tags as structs
- 2f9661311b83 13.0 landed