logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

Still problems with pg_dump ad \dt...: msg#00242

db.postgresql.novice

Subject: Still problems with pg_dump ad \dt...

Hello,

I still have a problem with pg_dump and (now also with) \dt on my 7.2.1 database, even after a restart of the postmaster... I tried a REINDEX... it didn't fix my problem...


This is what I do/get:

belbonedb_v2=# \dt
ERROR: AllocSetFree: cannot find block containing chunk 47ca78


And this is the debug output:

bash-2.05$ DEBUG: StartTransactionCommand
DEBUG: query: SELECT c.relname as "Name",
CASE c.relkind WHEN 'r' THEN 'table' WHEN 'v' THEN 'view' WHEN 'i' THEN 'index' WHEN 'S' THEN 'sequence' WHEN 's' THEN 'special' END as "Type",
u.usename as "Owner"
FROM pg_class c LEFT JOIN pg_user u ON c.relowner = u.usesysid
WHERE c.relkind IN ('r','')
AND c.relname !~ '^pg_'
ORDER BY 1;
DEBUG: parse tree: { QUERY :command 1 :utility <> :resultRelation 0 :into <> :isPortal false :isBinary false :isTemp false :hasAggs false :hasSubLinks false :rtable ({ RTE :relname pg_class :relid 1259 :subquery <> :alias { ATTR :relname c :attrs <>} :eref { ATTR :relname c :attrs ( "relname" "reltype" "relowner" "relam" "relfilenode" "relpages" "reltuples" "reltoastrelid" "reltoastidxid" "relhasindex" "relisshared" "relkind" "relnatts" "relchecks" "reltriggers" "relukeys" "relfkeys" "relrefs" "relhasoids" "relhaspkey" "relhasrules" "relhassubclass" "relacl" )} :inh true :inFromCl true :checkForRead true :checkForWrite false :checkAsUser 0} { RTE :relname pg_user :relid 16478 :subquery <> :alias { ATTR :relname u :attrs <>} :eref { ATTR :relname u :attrs ( "usename" "usesysid" "usecreatedb" "usetrace" "usesuper" "usecatupd" "passwd" "valuntil" )} :inh true :inFromCl true :checkForRead true :checkForWrite false :checkAsUser 0}) :jointree { FROMEXPR :fromlist ({ JOINEXPR :jointype 1 :isNatural false :larg { RANGETBLREF 1 } :rarg { RANGETBLREF 2 } :using <> :quals { EXPR :typeOid 16 :opType op :oper { OPER :opno 96 :opid 0 :opresulttype 16 } :args ({ VAR :varno 1 :varattno 3 :vartype 23 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 3} { VAR :varno 2 :varattno 2 :vartype 23 :vartypmod -1 :varlevelsup 0 :varnoold 2 :varoattno 2})} :alias <> :colnames ( "relname" "reltype" "relowner" "relam" "relfilenode" "relpages" "reltuples" "reltoastrelid" "reltoastidxid" "relhasindex" "relisshared" "relkind" "relnatts" "relchecks" "reltriggers" "relukeys" "relfkeys" "relrefs" "relhasoids" "relhaspkey" "relhasrules" "relhassubclass" "relacl" "usename" "usesysid" "usecreatedb" "usetrace" "usesuper" "usecatupd" "passwd" "valuntil" ) :colvars ({ VAR :varno 1 :varattno 1 :vartype 19 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 1} { VAR :varno 1 :varattno 2 :vartype 26 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 2} { VAR :varno 1 :varattno 3 :vartype 23 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 3} { VAR :varno 1 :varattno 4 :vartype 26 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 4} { VAR :varno 1 :varattno 5 :vartype 26 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 5} { VAR :varno 1 :varattno 6 :vartype 23 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 6} { VAR :varno 1 :varattno 7 :vartype 700 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 7} { VAR :varno 1 :varattno 8 :vartype 26 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 8} { VAR :varno 1 :varattno 9 :vartype 26 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 9} { VAR :varno 1 :varattno 10 :vartype 16 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 10} { VAR :varno 1 :varattno 11 :vartype 16 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 11} { VAR :varno 1 :varattno 12 :vartype 18 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 12} { VAR :varno 1 :varattno 13 :vartype 21 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 13} { VAR :varno 1 :varattno 14 :vartype 21 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 14} { VAR :varno 1 :varattno 15 :vartype 21 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 15} { VAR :varno 1 :varattno 16 :vartype 21 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 16} { VAR :varno 1 :varattno 17 :vartype 21 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 17} { VAR :varno 1 :varattno 18 :vartype 21 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 18} { VAR :varno 1 :varattno 19 :vartype 16 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 19} { VAR :varno 1 :varattno 20 :vartype 16 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 20} { VAR :varno 1 :varattno 21 :vartype 16 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 21} { VAR :varno 1 :varattno 22 :vartype 16 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 22} { VAR :varno 1 :varattno 23 :vartype 1034 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 23} { VAR :varno 2 :varattno 1 :vartype 19 :vartypmod -1 :varlevelsup 0 :varnoold 2 :varoattno 1} { VAR :varno 2 :varattno 2 :vartype 23 :vartypmod -1 :varlevelsup 0 :varnoold 2 :varoattno 2} { VAR :varno 2 :varattno 3 :vartype 16 :vartypmod -1 :varlevelsup 0 :varnoold 2 :varoattno 3} { VAR :varno 2 :varattno 4 :vartype 16 :vartypmod -1 :varlevelsup 0 :varnoold 2 :varoattno 4} { VAR :varno 2 :varattno 5 :vartype 16 :vartypmod -1 :varlevelsup 0 :varnoold 2 :varoattno 5} { VAR :varno 2 :varattno 6 :vartype 16 :vartypmod -1 :varlevelsup 0 :varnoold 2 :varoattno 6} { VAR :varno 2 :varattno 7 :vartype 25 :vartypmod -1 :varlevelsup 0 :varnoold 2 :varoattno 7} { VAR :varno 2 :varattno 8 :vartype 702 :vartypmod -1 :varlevelsup 0 :varnoold 2 :varoattno 8})}) :quals { EXPR :typeOid 16 :opType and :oper <> :args ({ EXPR :typeOid 16 :opType or :oper <> :args ({ EXPR :typeOid 16 :opType op :oper { OPER :opno 92 :opid 0 :opresulttype 16 } :args ({ VAR :varno 1 :varattno 12 :vartype 18 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 12} { CONST :consttype 18 :constlen 1 :constbyval true :constisnull false :constvalue 1 [ 0 0 0 114 ] })} { EXPR :typeOid 16 :opType op :oper { OPER :opno 92 :opid 0 :opresulttype 16 } :args ({ VAR :varno 1 :varattno 12 :vartype 18 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 12} { CONST :consttype 18 :constlen 1 :constbyval true :constisnull false :constvalue 1 [ 0 0 0 0 ] })})} { EXPR :typeOid 16 :opType op :oper { OPER :opno 640 :opid 0 :opresulttype 16 } :args ({ VAR :varno 1 :varattno 1 :vartype 19 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 1} { CONST :consttype 25 :constlen -1 :constbyval false :constisnull false :constvalue 8 [ 0 0 0 8 94 112 103 95 ] })})}} :rowMarks () :targetList ({ TARGETENTRY :resdom { RESDOM :resno 1 :restype 19 :restypmod -1 :resname Name :reskey 0 :reskeyop 0 :ressortgroupref 1 :resjunk false } :expr { VAR :varno 1 :varattno 1 :vartype 19 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 1}} { TARGETENTRY :resdom { RESDOM :resno 2 :restype 25 :restypmod -1 :resname Type :reskey 0 :reskeyop 0 :ressortgroupref 0 :resjunk false } :expr { CASE :casetype 25 :arg <> :args ({ WHEN { EXPR :typeOid 16 :opType op :oper { OPER :opno 92 :opid 0 :opresulttype 16 } :args ({ VAR :varno 1 :varattno 12 :vartype 18 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 12} { CONST :consttype 18 :constlen 1 :constbyval true :constisnull false :constvalue 1 [ 0 0 0 114 ] })} :then { CONST :consttype 25 :constlen -1 :constbyval false :constisnull false :constvalue 9 [ 0 0 0 9 116 97 98 108 101 ] }} { WHEN { EXPR :typeOid 16 :opType op :oper { OPER :opno 92 :opid 0 :opresulttype 16 } :args ({ VAR :varno 1 :varattno 12 :vartype 18 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 12} { CONST :consttype 18 :constlen 1 :constbyval true :constisnull false :constvalue 1 [ 0 0 0 118 ] })} :then { CONST :consttype 25 :constlen -1 :constbyval false :constisnull false :constvalue 8 [ 0 0 0 8 118 105 101 119 ] }} { WHEN { EXPR :typeOid 16 :opType op :oper { OPER :opno 92 :opid 0 :opresulttype 16 } :args ({ VAR :varno 1 :varattno 12 :vartype 18 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 12} { CONST :consttype 18 :constlen 1 :constbyval true :constisnull false :constvalue 1 [ 0 0 0 105 ] })} :then { CONST :consttype 25 :constlen -1 :constbyval false :constisnull false :constvalue 9 [ 0 0 0 9 105 110 100 101 120 ] }} { WHEN { EXPR :typeOid 16 :opType op :oper { OPER :opno 92 :opid 0 :opresulttype 16 } :args ({ VAR :varno 1 :varattno 12 :vartype 18 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 12} { CONST :consttype 18 :constlen 1 :constbyval true :constisnull false :constvalue 1 [ 0 0 0 83 ] })} :then { CONST :consttype 25 :constlen -1 :constbyval false :constisnull false :constvalue 12 [ 0 0 0 12 115 101 113 117 101 110 99 101 ] }} { WHEN { EXPR :typeOid 16 :opType op :oper { OPER :opno 92 :opid 0 :opresulttype 16 } :args ({ VAR :varno 1 :varattno 12 :vartype 18 :vartypmod -1 :varlevelsup 0 :varnoold 1 :varoattno 12} { CONST :consttype 18 :constlen 1 :constbyval true :constisnull false :constvalue 1 [ 0 0 0 115 ] })} :then { CONST :consttype 25 :constlen -1 :constbyval false :constisnull false :constvalue 11 [ 0 0 0 11 115 112 101 99 105 97 108 ] }}) :defresult { CONST :consttype 25 :constlen -1 :constbyval false :constisnull true :constvalue <>}}} { TARGETENTRY :resdom { RESDOM :resno 3 :restype 19 :restypmod -1 :resname Owner :reskey 0 :reskeyop 0 :ressortgroupref 0 :resjunk false } :expr { VAR :varno 2 :varattno 1 :vartype 19 :vartypmod -1 :varlevelsup 0 :varnoold 2 :varoattno 1}}) :groupClause <> :havingQual <> :distinctClause <> :sortClause ({ SORTCLAUSE :tleSortGroupRef 1 :sortop 660 }) :limitOffset <> :limitCount <> :setOperations <> :resultRelations ()}
ERROR: AllocSetFree: cannot find block containing chunk 4802a8
DEBUG: AbortCurrentTransaction


Cheers!


Wim


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your
message can get through to the mailing list cleanly



<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo