BUG #16014: how to modify column ev_action of pg_rewrite

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: zhq651(at)126(dot)com
Subject: BUG #16014: how to modify column ev_action of pg_rewrite
Date: 2019-09-20 01:43:46
Message-ID: 16014-d03ad99f7a1cafd2@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 16014
Logged by: DamionZ Zhao
Email address: zhq651(at)126(dot)com
PostgreSQL version: 11.4
Operating system: linux
Description:

typedef enum CmdType
{
CMD_UNKNOWN,
CMD_SELECT, /* select stmt */
CMD_UPDATE, /* update stmt */
CMD_INSERT, /* insert stmt */
CMD_DELETE,
CMD_MERGE, /* merge stmt */
CMD_UTILITY, /* cmds like create, destroy, copy, vacuum,
* etc. */
CMD_NOTHING /* dummy command for instead nothing rules
* with qual */
} CmdType;

we merge the patch "merge into" into my project, but you can see , CMD_MERGE
is not added in the end.
It leads to restore old version postgres data to new version postgres。
because CMD_UTILITY value has been changed from 5 to 6, CMD_NOTHING has
been changed from 6 to 7.

so we want to modify pg_rewrite column :ev_action to resolve this problem.
Thanks very very much.
Wait in a hurry!!!

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2019-09-20 02:11:40 Re: BUG #16014: how to modify column ev_action of pg_rewrite
Previous Message Scott Laing 2019-09-19 12:16:10 Re: AW: install error