pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedpg_dump failed
7+ messages / 5 participants
[nested] [flat]
* pg_dump failed
@ 2001-05-21 14:38 Leonid <leo@rusmedia.net>
0 siblings, 1 reply; 7+ messages in thread
From: Leonid @ 2001-05-21 14:38 UTC (permalink / raw)
To: pgsql-admin
pg_dump failed with message
getTables(): SELECT (for VIEW DEFINITION) failed.
Explanation from backend: ERROR: cache lookup for proc 372947 failed
Where I should dig?
Thanx.
--
Best regards,
Leonid mailto:leo@rusmedia.net
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: pg_dump failed
@ 2001-05-21 15:03 Tom Lane <tgl@sss.pgh.pa.us>
parent: Leonid <leo@rusmedia.net>
0 siblings, 0 replies; 7+ messages in thread
From: Tom Lane @ 2001-05-21 15:03 UTC (permalink / raw)
To: Leonid <leo@rusmedia.net>; +Cc: pgsql-admin@postgresql.org, Philip Warner <pjw@rhyme.com.au>
Leonid <leo@rusmedia.net> writes:
> pg_dump failed with message
> getTables(): SELECT (for VIEW DEFINITION) failed.
> Explanation from backend: ERROR: cache lookup for proc 372947 failed
> Where I should dig?
You have a view that refers to a function that no longer exists.
Philip: seems like it would be helpful if this pg_dump message mentioned
*which* viewname it was failing on. There are other cases where more
info could be reported, too...
regards, tom lane
^ permalink raw reply [nested|flat] 7+ messages in thread
* pg_dump failed
@ 2002-05-07 10:35 Gaetano Mendola <mendola@bigfoot.com>
0 siblings, 1 reply; 7+ messages in thread
From: Gaetano Mendola @ 2002-05-07 10:35 UTC (permalink / raw)
To: pgsql-admin
Hi all,
performing a pg_dump I obtain this error
$ pg_dump empdb > dacan.sql
getTables(): SELECT (for VIEW DEFINITION) failed. Explanation from backend:
ERROR: cache lookup for proc 117968 failed
Anyone have an idea ?
Ciao
Gaetano
--
#exclude <windows>
#include <CSRSS>
printf("\t\t\b\b\b\b\b\b");.
printf("\t\t\b\b\b\b\b\b");
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: pg_dump failed
@ 2002-05-07 15:48 Stephan Szabo <sszabo@megazone23.bigpanda.com>
parent: Gaetano Mendola <mendola@bigfoot.com>
0 siblings, 1 reply; 7+ messages in thread
From: Stephan Szabo @ 2002-05-07 15:48 UTC (permalink / raw)
To: Gaetano Mendola <mendola@bigfoot.com>; +Cc: pgsql-admin
On Tue, 7 May 2002, Gaetano Mendola wrote:
> Hi all,
> performing a pg_dump I obtain this error
>
> $ pg_dump empdb > dacan.sql
> getTables(): SELECT (for VIEW DEFINITION) failed. Explanation from backend:
> ERROR: cache lookup for proc 117968 failed
>
>
> Anyone have an idea ?
Is it possible that you've got a view referencing a deleted function?
Turning on query logging and seeing what it was trying to do immediately
before the message is probably advisable.
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: pg_dump failed
@ 2002-05-07 17:06 Gaetano Mendola <mendola@bigfoot.com>
parent: Stephan Szabo <sszabo@megazone23.bigpanda.com>
0 siblings, 0 replies; 7+ messages in thread
From: Gaetano Mendola @ 2002-05-07 17:06 UTC (permalink / raw)
To: Stephan Szabo <sszabo@megazone23.bigpanda.com>; +Cc: pgsql-admin
"Stephan Szabo" <sszabo@megazone23.bigpanda.com> wrote:
> On Tue, 7 May 2002, Gaetano Mendola wrote:
>
> > Hi all,
> > performing a pg_dump I obtain this error
> >
> > $ pg_dump empdb > dacan.sql
> > getTables(): SELECT (for VIEW DEFINITION) failed. Explanation from
backend:
> > ERROR: cache lookup for proc 117968 failed
> >
> >
> > Anyone have an idea ?
>
> Is it possible that you've got a view referencing a deleted function?
> Turning on query logging and seeing what it was trying to do immediately
> before the message is probably advisable.
I did,
may be is a good idea put on that message which view is wrong, or anyway
skip the view with just a warning message.
Ciao
Gaetano
^ permalink raw reply [nested|flat] 7+ messages in thread
* pg_dump failed
@ 2003-12-12 09:49 Milan Krajnak <milan_krajnak@abilitydev.com>
0 siblings, 1 reply; 7+ messages in thread
From: Milan Krajnak @ 2003-12-12 09:49 UTC (permalink / raw)
To: pgsql-admin
hello,
i've got the following problem:
OS - Solaris 8/9 on Sun SPARC
PGSQL 7.1.3
when i try to dump the database with pg_dump command i've got the
following error:
-- last builtin oid is 18539
-- reading user-defined types
-- reading user-defined functions
-- reading user-defined aggregates
-- reading user-defined operators
-- reading user-defined tables
getTables(): SELECT failed. Explanation from backend: 'pqReadData() --
backend
closed the channel unexpectedly.
This probably means the backend terminated abnormally
before or while processing the request.
'.
the same error appears when a try to display the database schema using
\d in psql shell e.g.
$ psql -U user db
psql# \d
getTables(): SELECT failed. Explanation from backend: 'pqReadData() --
backend
closed the channel unexpectedly.
This probably means the backend terminated abnormally
before or while processing the request.
'.
but when a type:
psql# \d table_name
everything works fine ...
what's wrong ?
pg_dump is really really really important for me ... thanx in advance ...
--
Milan Krajnak
senior software architect
e-mail: milan_krajnak@abilitydev.com
phone: +421 2 50267546
fax : +421 2 50267500
Ability Development SK
http://www.abilitydev.com
Attachments:
smime.p7s (application/x-pkcs7-signature, 3.1K) download
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: pg_dump failed
@ 2003-12-12 15:39 Tom Lane <tgl@sss.pgh.pa.us>
parent: Milan Krajnak <milan_krajnak@abilitydev.com>
0 siblings, 0 replies; 7+ messages in thread
From: Tom Lane @ 2003-12-12 15:39 UTC (permalink / raw)
To: Milan Krajnak <milan_krajnak@abilitydev.com>; +Cc: pgsql-admin
Milan Krajnak <milan_krajnak@abilitydev.com> writes:
> psql# \d
> getTables(): SELECT failed. Explanation from backend: 'pqReadData() --
> backend
> closed the channel unexpectedly.
Standard questions: what shows up in the postmaster's log (stderr or
syslog depending on your setup) when this happens? Is there a core
file dropped in the database subdirectory ($PGDATA/base/something/)?
If so, please get a debugger backtrace from it.
I get the impression that there may be corrupt data in your pg_class
file --- can you do "select * from pg_class" without a crash?
How about pg_user and pg_rewrite?
regards, tom lane
^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2003-12-12 15:39 UTC | newest]
Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-05-21 14:38 pg_dump failed Leonid <leo@rusmedia.net>
2001-05-21 15:03 ` Tom Lane <tgl@sss.pgh.pa.us>
2002-05-07 10:35 pg_dump failed Gaetano Mendola <mendola@bigfoot.com>
2002-05-07 15:48 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>
2002-05-07 17:06 ` Gaetano Mendola <mendola@bigfoot.com>
2003-12-12 09:49 pg_dump failed Milan Krajnak <milan_krajnak@abilitydev.com>
2003-12-12 15:39 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox