|
7 | 7 | *
|
8 | 8 | *
|
9 | 9 | * IDENTIFICATION
|
10 |
| - * $Header: /cvsroot/pgsql/src/backend/catalog/pg_operator.c,v 1.43 1999/11/22 17:55:58 momjian Exp $ |
| 10 | + * $Header: /cvsroot/pgsql/src/backend/catalog/pg_operator.c,v 1.44 1999/11/24 00:44:29 momjian Exp $ |
11 | 11 | *
|
12 | 12 | * NOTES
|
13 | 13 | * these routines moved here from commands/define.c and somewhat cleaned up.
|
@@ -791,7 +791,7 @@ OperatorDef(char *operatorName,
|
791 | 791 | replaces);
|
792 | 792 |
|
793 | 793 | setheapoverride(true);
|
794 |
| - heap_replace(pg_operator_desc, &tup->t_self, tup, NULL); |
| 794 | + heap_update(pg_operator_desc, &tup->t_self, tup, NULL); |
795 | 795 | setheapoverride(false);
|
796 | 796 | }
|
797 | 797 | else
|
@@ -921,7 +921,7 @@ OperatorUpd(Oid baseId, Oid commId, Oid negId)
|
921 | 921 | replaces);
|
922 | 922 |
|
923 | 923 | setheapoverride(true);
|
924 |
| - heap_replace(pg_operator_desc, &tup->t_self, tup, NULL); |
| 924 | + heap_update(pg_operator_desc, &tup->t_self, tup, NULL); |
925 | 925 | setheapoverride(false);
|
926 | 926 |
|
927 | 927 | if (RelationGetForm(pg_operator_desc)->relhasindex)
|
@@ -955,7 +955,7 @@ OperatorUpd(Oid baseId, Oid commId, Oid negId)
|
955 | 955 | replaces);
|
956 | 956 |
|
957 | 957 | setheapoverride(true);
|
958 |
| - heap_replace(pg_operator_desc, &tup->t_self, tup, NULL); |
| 958 | + heap_update(pg_operator_desc, &tup->t_self, tup, NULL); |
959 | 959 | setheapoverride(false);
|
960 | 960 |
|
961 | 961 | if (RelationGetForm(pg_operator_desc)->relhasindex)
|
@@ -995,7 +995,7 @@ OperatorUpd(Oid baseId, Oid commId, Oid negId)
|
995 | 995 | replaces);
|
996 | 996 |
|
997 | 997 | setheapoverride(true);
|
998 |
| - heap_replace(pg_operator_desc, &tup->t_self, tup, NULL); |
| 998 | + heap_update(pg_operator_desc, &tup->t_self, tup, NULL); |
999 | 999 | setheapoverride(false);
|
1000 | 1000 |
|
1001 | 1001 | if (RelationGetForm(pg_operator_desc)->relhasindex)
|
|
0 commit comments