From john@helgo.net Wed Sep 13 08:26:45 2000 Received: from kilmer.helgo.net (IDENT:root@[193.13.137.3]) by hub.org (8.10.1/8.10.1) with ESMTP id e8D8Qis41526 for ; Wed, 13 Sep 2000 04:26:45 -0400 (EDT) Received: from wjot (ns4.enator.se [193.15.240.60]) by kilmer.helgo.net (8.9.3/8.9.3) with SMTP id KAA27770 for ; Wed, 13 Sep 2000 10:26:57 +0200 Message-ID: <006a01c01d5c$58b35b80$44a30d93@enator.se> From: =?iso-8859-1?Q?John_St=E4ck?= To: Subject: Can't dump database Date: Wed, 13 Sep 2000 10:24:40 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200009/40 I can't do database dumps! I just get this error message: getFuncs(): SELECT failed. Explanation from backend: 'ERROR: getattproperties: no attribute tuple 1255 -2 '. This is regardless of which database I try to dump (including newly created totally empty ones), with which user (my "normal" user, any other user or postgres), or whether or not the database has any functions in it. If I run pg_dumpall, it starts dumping some stuff from template1, but when it connects to the first "regular" database, it bails ut with the same error. Also, just running "pg_dump template1" generates that same error too. I'm running PostgreSQL 7.0.2 on LinuxPPC-2000. I've also tried the same thing on LinuxPPC-1999. Same result. /John From janez@ipruniv.cce.unipr.it Thu Sep 21 12:39:38 2000 Received: from news.tht.net (news.hub.org [216.126.91.242]) by hub.org (8.10.1/8.10.1) with ESMTP id e8LCdcs70633 for ; Thu, 21 Sep 2000 08:39:38 -0400 (EDT) Received: (from news@localhost) by news.tht.net (8.9.3/8.9.3) id IAA90030 for pgsql-admin@postgresql.org; Thu, 21 Sep 2000 08:29:07 -0400 (EDT) (envelope-from news) X-Authentication-Warning: news.tht.net: news set sender to using -f From: Giovanni Ianelli X-Newsgroups: comp.databases.postgresql.admin Subject: Re: Can't dump database Date: Thu, 21 Sep 2000 14:32:36 +0200 Organization: CINECA Lines: 81 Message-ID: <39C9FFE4.DFB9F01C@ipruniv.cce.unipr.it> References: <006a01c01d5c$58b35b80$44a30d93@enator.se> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------C0E22A765C82437DBA91FC2A" X-Trace: news.cineca.it 969539346 23581 160.78.81.191 (21 Sep 2000 12:29:06 GMT) X-Complaints-To: news@cineca.it X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14 i586) X-Accept-Language: en To: pgsql-admin@postgresql.org X-Archive-Number: 200009/67 --------------C0E22A765C82437DBA91FC2A Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable John St=E4ck wrote: > I can't do database dumps! I just get this error message: > getFuncs(): SELECT failed. Explanation from backend: 'ERROR: > getattproperties: no attribute tuple 1255 -2 > '. > > This is regardless of which database I try to dump (including newly creat= ed > totally empty ones), with which user (my "normal" user, any other user or > postgres), or whether or not the database has any functions in it. > If I run pg_dumpall, it starts dumping some stuff from template1, but when > it connects to the first "regular" database, it bails ut with the same > error. Also, just running "pg_dump template1" generates that same error t= oo. > > I'm running PostgreSQL 7.0.2 on LinuxPPC-2000. I've also tried the same > thing on LinuxPPC-1999. Same result. > > /John > I found the same problem. I'm running postgresql 7.0.2 under LinuxPPC 1999 but I copy a db to a postgresql 7.0.1 under Suse 6.4 i586 and now i have the same problem on this pc ,too. -- "Tutto nel mondo e' burla.. l'uom..e' nato burlone,burlone,burlone!" G.Verdi-Falstaff --------------C0E22A765C82437DBA91FC2A Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit John Stäck wrote:
I can't do database dumps! I just get this error message:
getFuncs(): SELECT failed.  Explanation from backend: 'ERROR:
getattproperties: no attribute tuple 1255 -2
'.

This is regardless of which database I try to dump (including newly created
totally empty ones), with which user (my "normal" user, any other user or
postgres), or whether or not the database has any functions in it.
If I run pg_dumpall, it starts dumping some stuff from template1, but when
it connects to the first "regular" database, it bails ut with the same
error. Also, just running "pg_dump template1" generates that same error too.

I'm running PostgreSQL 7.0.2 on LinuxPPC-2000. I've also tried the same
thing on LinuxPPC-1999. Same result.

/John

I found the same problem. I'm running postgresql 7.0.2
under LinuxPPC 1999 but I copy a db to a postgresql 7.0.1
under Suse 6.4 i586 and now i have the same problem on
this pc ,too.
-- 
"Tutto nel mondo e' burla..
l'uom..e' nato burlone,burlone,burlone!"
G.Verdi-Falstaff
  --------------C0E22A765C82437DBA91FC2A-- From sszabo@megazone23.bigpanda.com Thu Sep 21 16:54:32 2000 Received: from megazone23.bigpanda.com (138.210.6.64.reflexcom.com [64.6.210.138]) by hub.org (8.10.1/8.10.1) with ESMTP id e8LGsWs71052 for ; Thu, 21 Sep 2000 12:54:32 -0400 (EDT) Received: from localhost (sszabo@localhost) by megazone23.bigpanda.com (8.11.0/8.11.0) with ESMTP id e8LGrnW62106; Thu, 21 Sep 2000 09:53:49 -0700 (PDT) Date: Thu, 21 Sep 2000 09:53:49 -0700 (PDT) From: Stephan Szabo To: Giovanni Ianelli cc: pgsql-admin@postgresql.org Subject: Re: Can't dump database In-Reply-To: <39C9FFE4.DFB9F01C@ipruniv.cce.unipr.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by hub.org id e8LGsXs71054 X-Archive-Number: 200009/68 I'm not sure this will have anything to do with it, but what do you get when you do a select * from pg_attribute where attrelid=1255; Without looking into code, I'm guessing that the 1255 might be the relation oid and -2 the attribute number (which would be oid?). Stephan Szabo sszabo@bigpanda.com On Thu, 21 Sep 2000, Giovanni Ianelli wrote: > John Stäck wrote: > > > I can't do database dumps! I just get this error message: > > getFuncs(): SELECT failed. Explanation from backend: 'ERROR: > > getattproperties: no attribute tuple 1255 -2 > > '. > > > > This is regardless of which database I try to dump (including newly created > > totally empty ones), with which user (my "normal" user, any other user or > > postgres), or whether or not the database has any functions in it. > > If I run pg_dumpall, it starts dumping some stuff from template1, but when > > it connects to the first "regular" database, it bails ut with the same > > error. Also, just running "pg_dump template1" generates that same error too. > > > > I'm running PostgreSQL 7.0.2 on LinuxPPC-2000. I've also tried the same > > thing on LinuxPPC-1999. Same result. > > > > /John > > > I found the same problem. I'm running postgresql 7.0.2 > > under LinuxPPC 1999 but I copy a db to a postgresql 7.0.1 > under Suse 6.4 i586 and now i have the same problem on > this pc ,too.