diff options
Diffstat (limited to 'src/backend/catalog/heap.c')
| -rw-r--r-- | src/backend/catalog/heap.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/backend/catalog/heap.c b/src/backend/catalog/heap.c index 79957e7e8c..89c20ce5fa 100644 --- a/src/backend/catalog/heap.c +++ b/src/backend/catalog/heap.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.119 2000/01/26 05:56:10 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.120 2000/01/31 04:35:48 tgl Exp $ * * * INTERFACE ROUTINES @@ -2098,18 +2098,6 @@ AddRelationRawConstraints(Relation rel, heap_close(relrel, RowExclusiveLock); heap_freetuple(reltup); - - /* - * Force rebuild of our own relcache entry, otherwise subsequent commands - * in this transaction won't see the new defaults/constraints. - * Must bump command counter or relcache rebuild won't see 'em either. - * - * (This might seem unnecessary, since we are sending out an SI message; - * but if the relation has just been created then relcache.c will ignore - * the SI message on the grounds that the rel is transaction-local...) - */ - CommandCounterIncrement(); - RelationRebuildRelation(rel); } static void |
