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

From: "Richard" <husttripper(at)vip(dot)sina(dot)com>
To: "pgsql-general" <pgsql-general(at)postgresql(dot)org>
Subject: Restore from online backup, query from pg_proc, got wrong result, please see the problem!
Date: 2010-08-11 15:52:36
Message-ID: 201008112352348437689@vip.sina.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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!

PS: I am using PG8.3.7

--------------
Richard
2010-08-11

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-08-11 16:02:31 Re: Restore from online backup, query from pg_proc, got wrong result, please see the problem!
Previous Message Greg Smith 2010-08-11 15:34:14 Re: MySQL versus Postgres