Search Postgresql Archives

Re: Restore from online backup, query from pg_proc, got wrong result, please see the problem!

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

 



"Richard" <husttripper@xxxxxxxxxxxx> writes:
> After restoring from online backup and archive xlog files, I query pg_proc using SQL: select * from pg_proc where proname = 'xxx' and oid = XXX. I got no result back, but when using SQL:select * from pg_proc where proname = 'xxx', I got what I want, and the result OID is just the one in the first SQL.Then I reindex pg_proc, retry the first SQL, the result is correct.
> Any one konw what is the matter?  How can I solve this without reindexing the table!

Well, apparently you did the restore incorrectly, leading to an
inconsistent index on pg_proc.  Since you proided no details about how
you did that, it's hard to say more.

			regards, tom lane

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[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