]> granicus.if.org Git - postgresql/commit
Change TRUNCATE's method for searching for foreign-key references so that
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 29 Jun 2006 16:07:29 +0000 (16:07 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 29 Jun 2006 16:07:29 +0000 (16:07 +0000)
commitcd4609e2a4674d81f9a6d993636d47ab853ec660
tree1202d91e8c0a2755bed53646bc81f6dde566dbc6
parentbc9b6c22d5b1f96054349466a7ab650ebb10a119
Change TRUNCATE's method for searching for foreign-key references so that
the order in which it visits tables is not dependent on the physical order
of pg_constraint entries, and neither are the error messages it gives.
This should correct recently-noticed instability in regression tests.
src/backend/catalog/heap.c
src/test/regress/expected/temp.out
src/test/regress/expected/truncate.out
src/test/regress/sql/truncate.sql