postgresql/src/test
Tom Lane 33f5bf9700 ALTER TABLE OWNER must change the ownership of the table's rowtype too.
This was not especially critical before, but it is now that we track
ownership dependencies --- the dependency for the rowtype *must* shift
to the new owner.  Spotted by Bernd Helmle.
Also fix a problem introduced by recent change to allow non-superusers
to do ALTER OWNER in some cases: if the table had a toast table, ALTER
OWNER failed *even for superusers*, because the test being applied would
conclude that the new would-be owner had no create rights on pg_toast.
A side-effect of the fix is to disallow changing the ownership of indexes
or toast tables separately from their parent table, which seems a good
idea on the whole.
2005-08-04 01:09:29 +00:00
..
bench Cause initdb to create a third standard database "postgres", which 2005-06-21 04:02:34 +00:00
examples Cause initdb to create a third standard database "postgres", which 2005-06-21 04:02:34 +00:00
locale $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
mb unbreak unicode/utf8 test 2005-06-24 15:12:00 +00:00
performance /usr/local/bin/perl => /usr/bin/perl 2001-09-04 11:41:04 +00:00
regress ALTER TABLE OWNER must change the ownership of the table's rowtype too. 2005-08-04 01:09:29 +00:00
Makefile $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00