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

From Tom Lane
Subject Re: Portal->commandTag as an enum
Date
Msg-id 16975.1582931135@sss.pgh.pa.us
Whole thread Raw
In response to Re: Portal->commandTag as an enum  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: Portal->commandTag as an enum  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Re: Portal->commandTag as an enum  (Mark Dilger <mark.dilger@enterprisedb.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> I just realized that we could rename command_tag_display_last_oid() to
> something like command_tag_print_a_useless_zero_for_historical_reasons() 
> and nothing would be lost.

Is there a way to drop that logic altogether by making the tagname string
be "INSERT 0" for the INSERT case?  Or would the zero bleed into other
places where we don't want it?

            regards, tom lane



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Portal->commandTag as an enum
Next
From: Tom Lane
Date:
Subject: Re: d25ea01275 and partitionwise join