]> granicus.if.org Git - postgresql/commit
CLUSTER specified the wrong namespace when renaming toast tables of temporary
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 2 Feb 2010 19:12:29 +0000 (19:12 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 2 Feb 2010 19:12:29 +0000 (19:12 +0000)
commitc98157d693edefdbf5e37bca9b26c18a80018dd4
treecb02e574630bc996cffe676ceb7bcab8c364b883
parent0a2734714127b01d1f77468766d132064a1d6a97
CLUSTER specified the wrong namespace when renaming toast tables of temporary
relations (they don't live in pg_toast).  This caused an Assert failure in
assert-enabled builds.  So far as I can see, in a non-assert build it would
only have messed up the checks for conflicting names, so a failure would be
quite improbable but perhaps not impossible.
src/backend/commands/cluster.c
src/test/regress/expected/cluster.out
src/test/regress/sql/cluster.sql