diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-09-15 23:37:49 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-09-15 23:37:49 +0000 |
commit | e4aea74e1924195d73c79dd68fb88eb7914dbd77 (patch) | |
tree | 5e219ab0efdce0b7298d1670d0d92318a69b7c35 /src/backend/access/gist | |
parent | e5b1eed7c916bbe747ee86da815ebe4ea8bdd643 (diff) |
Fix caching of foreign-key-checking queries so that when a replan is needed,
we regenerate the SQL query text not merely the plan derived from it. This
is needed to handle contingencies such as renaming of a table or column
used in an FK. Pre-8.3, such cases worked despite the lack of replanning
(because the cached plan needn't actually change), so this is a regression.
Per bug #4417 from Benjamin Bihler.
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions