Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e9bb359

Browse files
author
Thomas G. Lockhart
committed
Change embedded query to reflect column name change from "action"
to "ev_action".
1 parent c5173fc commit e9bb359

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/rewrite/rewriteDefine.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteDefine.c,v 1.6 1997/09/08 21:46:35 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteDefine.c,v 1.7 1997/10/25 05:37:07 thomas Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -123,7 +123,7 @@ InsertRule(char *rulname,
123123
strcpyq(qualbuf, evqual);
124124

125125
template = "INSERT INTO pg_rewrite \
126-
(rulename, ev_type, ev_class, ev_attr, action, ev_qual, is_instead) VALUES \
126+
(rulename, ev_type, ev_class, ev_attr, ev_action, ev_qual, is_instead) VALUES \
127127
('%s', %d::char, %d::oid, %d::int2, '%s'::text, '%s'::text, \
128128
'%s'::bool);";
129129
if (strlen(template) + strlen(rulname) + strlen(actionbuf) +

0 commit comments

Comments
 (0)