diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-10-13 22:22:22 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-10-13 22:22:22 +0000 |
| commit | 78c0692b159dccf56853107fb4513225decbbd85 (patch) | |
| tree | 491c86799f5f2ec09637c98a94e1000851a95cb7 /src/backend/utils/adt | |
| parent | 8a9b331c323c6b6dfe97d7e05939f2518b98f5b0 (diff) | |
Repair possible failure to update hint bits back to disk, per
http://archives.postgresql.org/pgsql-hackers/2004-10/msg00464.php.
I plan a more permanent fix in HEAD, but for the back branches it seems
best to just touch the places that actually have a problem.
Diffstat (limited to 'src/backend/utils/adt')
| -rw-r--r-- | src/backend/utils/adt/ri_triggers.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/backend/utils/adt/ri_triggers.c b/src/backend/utils/adt/ri_triggers.c index 0b47b614ea7..6f85e6fc4a5 100644 --- a/src/backend/utils/adt/ri_triggers.c +++ b/src/backend/utils/adt/ri_triggers.c @@ -17,7 +17,7 @@ * * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/backend/utils/adt/ri_triggers.c,v 1.43.2.4 2003/10/31 03:57:41 wieck Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/ri_triggers.c,v 1.43.2.5 2004/10/13 22:22:22 tgl Exp $ * * ---------- */ @@ -241,6 +241,9 @@ RI_FKey_check(PG_FUNCTION_ARGS) * We should not even consider checking the row if it is no longer * valid since it was either deleted (doesn't matter) or updated (in * which case it'll be checked with its final values). + * + * Note: we need not SetBufferCommitInfoNeedsSave() here since the + * new tuple's commit state can't possibly change. */ if (new_row) { |
