Search Postgresql Archives

Re: pg_dump warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard Huxton <dev@xxxxxxxxxxxx> writes:
> v.demartino2@xxxxxxxxxxx wrote:
>> pg_dump: WARNING: owner of table "atecu91" appears to be invalid
>> pg_dump: WARNING: owner of table "letture24btdom" appears to be invalid

> Who owns tables "atecu91" and "letture24btdom" on the FreeBSD box?

Evidently nobody.  Postgres doesn't currently stop you from dropping a
user who owns tables (Alvaro is working on fixing that for 8.1, though).

These warnings aren't fatal by any means, but if you want to get rid of
them, you can either reassign the tables to some other user (see ALTER
TABLE OWNER), or resurrect the original owner, taking care to give him
the same "usesysid" as before (CREATE USER joe WITH SYSID nnn).  The
hard part is to determine what that sysid was; I think you'd need to do
something like SELECT relowner FROM pg_class WHERE relname = 'atecu91'.

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux