pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: zhq651@126.com
Subject: BUG #16014: how to modify column ev_action of pg_rewrite
Date: Fri, 20 Sep 2019 01:43:46 +0000
Message-ID: <16014-d03ad99f7a1cafd2@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      16014
Logged by:          DamionZ Zhao
Email address:      zhq651@126.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!!!



view thread (2+ messages)  latest in thread

Message-ID: <16014-d03ad99f7a1cafd2@postgresql.org>
Permalink:  ../16014-d03ad99f7a1cafd2@postgresql.org/
Also on:    postgresql.org/message-id/16014-d03ad99f7a1cafd2@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, zhq651@126.com
  Subject: Re: BUG #16014: how to modify column ev_action of pg_rewrite
  In-Reply-To: <16014-d03ad99f7a1cafd2@postgresql.org>
  References: <16014-d03ad99f7a1cafd2@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox