postgresql/src/backend
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
..
access Code and docs review for pg_column_size() patch. 2005-08-02 16:11:57 +00:00
bootstrap Arrange for the postmaster (and standalone backends, initdb, etc) to 2005-07-04 04:51:52 +00:00
catalog Add ALTER object SET SCHEMA capability for a limited but useful set of 2005-08-01 04:03:59 +00:00
commands ALTER TABLE OWNER must change the ownership of the table's rowtype too. 2005-08-04 01:09:29 +00:00
executor Add NOWAIT option to SELECT FOR UPDATE/SHARE. 2005-08-01 20:31:16 +00:00
lib Replace the use of "0" with "NULL" where appropriate in dllist.c, for 2005-01-18 22:59:32 +00:00
libpq Use the standard spelling of the protocol argument to get/setsockopt. 2005-07-30 20:28:20 +00:00
main Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
nodes Add NOWAIT option to SELECT FOR UPDATE/SHARE. 2005-08-01 20:31:16 +00:00
optimizer Prevent planner from including temp tables of other backends when expanding 2005-08-02 20:27:45 +00:00
parser Add NOWAIT option to SELECT FOR UPDATE/SHARE. 2005-08-01 20:31:16 +00:00
po Translation updates 2005-01-17 20:27:44 +00:00
port Sync dlopen error handling for the *BSDs ... seems to me I've done this 2005-07-06 16:55:58 +00:00
postmaster Tweak BgBufferSync() so that a persistent write error on a dirty buffer 2005-08-02 20:52:08 +00:00
regex I made the patch that implements regexp_replace again. 2005-07-10 04:54:33 +00:00
rewrite Add NOWAIT option to SELECT FOR UPDATE/SHARE. 2005-08-01 20:31:16 +00:00
storage Tweak BgBufferSync() so that a persistent write error on a dirty buffer 2005-08-02 20:52:08 +00:00
tcop Add ALTER object SET SCHEMA capability for a limited but useful set of 2005-08-01 04:03:59 +00:00
utils Code and docs review for pg_column_size() patch. 2005-08-02 16:11:57 +00:00
Makefile Put libpgport into OBJS instead of LIBS, so that it gets included 2005-07-28 04:31:30 +00:00
nls.mk New translation 2005-01-09 17:10:29 +00:00