> -----Original Message----- > From: Tom Lane [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 17, 2007 12:51 AM > To: Justin Pasher > Cc: 'Richard Huxton'; pgsql-general@postgresql.org > Subject: Re: [GENERAL] Fixing broken permissions for deleted user > > "Justin Pasher" <[EMAIL PROTECTED]> writes: > > OK. After playing around with this extensively I FINALLY got the > permissions > > remove (from anything I can see). > > ... > > The table owner is also a different user from user id 101. However, it > still > > gives me the same complaint. > > > pg_dump: WARNING: owner of data type "menu_items" appears to be invalid > > pg_dump: WARNING: owner of data type "pg_toast_47831338" appears to be > > invalid > > > I do notice the error says "owner of data type", so perhaps it is > referring > > to something else besides the table? > > Yeah, the pg_type entry for the table's rowtype. > > regards, tom lane
Perfect. Just was I was looking for. So is it safe to actually run an update on the pg_catalog.pg_type.typowner column to change the user id from 101 to another existing user id without causing any other database weirdness? Justin Pasher ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match