Content-Length: 319326 | pFad | http://github.com/postgrespro/postgres_cluster/commit/7f06f34636c1e7a767346d690d075d388f2f34af

05 Change column number constant to reflect change in column name · postgrespro/postgres_cluster@7f06f34 · GitHub
Skip to content

Commit 7f06f34

Browse files
author
Thomas G. Lockhart
committed
Change column number constant to reflect change in column name
from "action" to "ev_action".
1 parent e9bb359 commit 7f06f34

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/backend/rewrite/rewriteSupport.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/rewriteSupport.c,v 1.10 1997/09/12 04:08:10 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteSupport.c,v 1.11 1997/10/25 05:35:55 thomas Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -60,7 +60,7 @@ RuleIdGetActionInfo(Oid ruleoid, bool *instead_flag, Query **parseTrees)
6060

6161
ruleaction = (char *)heap_getattr(ruletuple,
6262
InvalidBuffer,
63-
Anum_pg_rewrite_action,
63+
Anum_pg_rewrite_ev_action,
6464
ruleTupdesc,
6565
&action_is_null);
6666
rule_evqual_string = (char *)heap_getattr(ruletuple, InvalidBuffer,

src/backend/utils/cache/relcache.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/utils/cache/relcache.c,v 1.25 1997/09/18 20:22:24 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.26 1997/10/25 05:38:52 thomas Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -763,7 +763,7 @@ RelationBuildRuleLock(Relation relation)
763763

764764
ruleaction =
765765
heap_getattr(pg_rewrite_tuple, InvalidBuffer,
766-
Anum_pg_rewrite_action, pg_rewrite_tupdesc,
766+
Anum_pg_rewrite_ev_action, pg_rewrite_tupdesc,
767767
&isnull);
768768
rule_evqual_string =
769769
heap_getattr(pg_rewrite_tuple, InvalidBuffer,

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/7f06f34636c1e7a767346d690d075d388f2f34af

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy