From: | Wim <wdh(at)belbone(dot)be> |
---|---|
To: | pgsql-general(at)postgresql(dot)org, pgsql-novice(at)postgresql(dot)org |
Subject: | Still problems with pg_dump ad \dt... |
Date: | 2002-07-29 12:58:35 |
Message-ID: | 3D453BFB.6060306@belbone.be |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-novice |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Huxton | 2002-07-29 12:58:52 | Re: Limit on updates made in a transaction |
Previous Message | Henrik Steffen | 2002-07-29 12:57:45 | Re: Is there any such thing as PostgreSQL security on a hosted website? |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruno Wolff III | 2002-07-29 14:34:43 | Re: Auto-incrementing field |
Previous Message | Tom Lane | 2002-07-29 07:04:26 | Re: Compiling a user C function in 7.2.1 |