473,508 Members | 2,329 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ERROR: Unable to locate type oid 0 in catalog...

hi all,
we currently experience an original problem
on a production server with a postgresql 7.1.3
( a bit old, I know :\ )

We just want to know if somebody experienced this problem:

the error message :

"ERROR: Unable to locate type oid 0 in catalog"

I know that such a type can't exists as the types are
generated at the install with the first oid "16".

We found that drop the table en re-creating it with the same data
fixed the problem...

We think about a hardware problem (RAM default or disk maybe)
occurred and killed parts of our data.

These queries worked last week, we got many other problems too
during the last week on
"operators = from typeX to typeY"
disapeared
(fixed by creating these operators in the emergency)

Next to this, we can now see pg_temp.<num>.0 tables appearing in the
\d output !?

this looks like temporary tables "getting to public" ?

oid | relname
1048844570 | pg_temp.20806.1
1048844234 | pg_temp.20806.0
We stongly think about upgrading, but these problems
drops pg_dump to a fatal error... (Murphy's my best friend :] )
so do backups for a few days :(

I don't ask for a quick fix,
but just something like: "drop all that and upgrade"
or "do that at last..."
best regards,

franck
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org

Nov 23 '05 #1
2 2818
frbn <fr**@efbs-seafrigo.fr> writes:
we currently experience an original problem
on a production server with a postgresql 7.1.3
( a bit old, I know :\ )
More than a bit. I wouldn't worry about trying to fix the installation
--- concentrate on getting a dump so you can upgrade.
We stongly think about upgrading, but these problems
drops pg_dump to a fatal error... (Murphy's my best friend :] )


What error exactly? I'd suggest trying to use a newer version of
pg_dump (ie, the one from the PG version you want to update to)
to see if it avoids the problem. If not, turn on query logging
so you can see the queries issued by pg_dump, and let us know the
exact failure message and the last query issued before it happens.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 23 '05 #2
hi,
first: thank you very much for your support !

I now get the last postgresql stable version...

and here is the level 2 debug output :
(I'm sorry for this, it's huge)
___________________________
8936752 /usr/bin/postmaster: ServerLoop: handling reading 5
8936753 /usr/bin/postmaster: ServerLoop: handling reading 5
8936754 /usr/bin/postmaster: ServerLoop: handling reading 5
8936755 /usr/bin/postmaster: ServerLoop: handling reading 5
8936756 /usr/bin/postmaster: ServerLoop: handling writing 5
8936757 /usr/bin/postmaster: BackendStartup: pid 31602 user postgres db
statistiques socket 5
8936758 /usr/bin/postmaster child[31602]: starting with (postgres -d2
-v131072 -p statistiques )
8936759 FindExec: found "/usr/bin/postgres" using argv[0]
8936760 2004-11-18 16:17:34 [31602] DEBUG: connection: host=[local]
user=postgres database=statistiques
8936761 2004-11-18 16:17:34 [31602] DEBUG: InitPostgres
8936762 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936763 2004-11-18 16:17:34 [31602] DEBUG: query: select
getdatabaseencoding()
8936764 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936765 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936766 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936767 2004-11-18 16:17:34 [31602] DEBUG: query: SET datestyle =
'european'
8936768 2004-11-18 16:17:34 [31602] DEBUG: ProcessUtility: SET
datestyle = 'european'
8936769 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936770 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936771 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT version()
8936772 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936773 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936774 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936775 2004-11-18 16:17:34 [31602] DEBUG: query: begin
8936776 2004-11-18 16:17:34 [31602] DEBUG: ProcessUtility: begin
8936777 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936778 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936779 2004-11-18 16:17:34 [31602] DEBUG: query: set transaction
isolation level serializable
8936780 2004-11-18 16:17:34 [31602] DEBUG: ProcessUtility: set
transaction isolation level serializable
8936781 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936782 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936783 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT datlastsysoid
from pg_database where datname = 'statistiques'
8936784 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936785 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936786 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936787 2004-11-18 16:17:34 [31602] DEBUG: query: select (select
usename from pg_user where datdba = usesysid) as dba from pg_database
where datname = 'statistiques'
8936788 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936789 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936790 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936791 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT pg_type.oid,
typowner, typname, typlen, typprtlen, typinput, typoutput, typreceive,
typsend, typelem, typdelim, typdefault, typrelid, typalign, typstorage,
typbyval, typisdefined, (select usename from pg_user where typowner =
usesysid) as usename, format_type(pg_type.oid, NULL) as typedefn from
pg_type
8936792 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936793 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936794 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936795 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT pg_proc.oid,
proname, prolang, pronargs, prorettype, proretset, proargtypes, prosrc,
probin, (select usename from pg_user where proowner = usesysid) as
usename, proiscachable, proisstrict from pg_proc where pg_proc.oid >
'18539'::oid
8936796 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936797 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936798 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936799 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT
pg_aggregate.oid, aggname, aggtransfn, aggfinalfn, aggtranstype,
aggbasetype, agginitval, 't'::boolean as convertok, (select usename from
pg_user where aggowner = usesysid) as usename from pg_aggregate
8936800 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936801 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936802 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936803 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT
pg_operator.oid, oprname, oprkind, oprcode, oprleft, oprright, oprcom,
oprnegate, oprrest, oprjoin, oprcanhash, oprlsortop, oprrsortop, (select
usename from pg_user where oprowner = usesysid) as usename from pg_operator
8936804 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936805 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936806 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936807 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT pg_class.oid,
relname, relacl, relkind, (select usename from pg_user where relowner =
usesysid) as usename, relchecks, reltriggers, relhasindex from pg_class
where relname !~ '^pg_' and relkind in ('r', 'S', 'v') order by oid
8936808 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936809 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936810 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936811 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT Oid FROM
pg_index i WHERE i.indisprimary AND i.indrelid = 126626536
8936812 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936813 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936814 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936815 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT Oid FROM
pg_index i WHERE i.indisprimary AND i.indrelid = 126630187
8936816 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936817 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936818 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936819 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT Oid FROM
pg_index i WHERE i.indisprimary AND i.indrelid = 126640073
8936820 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936821 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936822 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936823 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT Oid FROM
pg_index i WHERE i.indisprimary AND i.indrelid = 225114846
8936824 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936825 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936826 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936827 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT tgname,
tgfoid, tgtype, tgnargs, tgargs, tgisconstraint, tgconstrname,
tgdeferrable, tgconstrrelid, tginitdeferred, oid, (select relname from
pg_class where oid = tgconstrrelid) as tgconstrrelname from
pg_trigger where tgrelid = '272231954'::oid
8936828 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936829 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936830 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936831 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT Oid FROM
pg_index i WHERE i.indisprimary AND i.indrelid = 314698456
8936832 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936833 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936834 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936835 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT Oid FROM
pg_index i WHERE i.indisprimary AND i.indrelid = 696158295
8936836 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936837 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936838 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936839 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT Oid FROM
pg_index i WHERE i.indisprimary AND i.indrelid = 873407485
8936840 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936841 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936842 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936843 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT c.relname
FROM pg_index i LEFT OUTER JOIN pg_class c ON c.oid = i.indexrelid WHERE
i.indrelid = 873407485AND i.indisprimary
8936844 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936845 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936846 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936847 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT tgname,
tgfoid, tgtype, tgnargs, tgargs, tgisconstraint, tgconstrname,
tgdeferrable, tgconstrrelid, tginitdeferred, oid, (select relname from
pg_class where oid = tgconstrrelid) as tgconstrrelname from
pg_trigger where tgrelid = '873407485'::oid
8936848 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936849 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936850 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936851 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT Oid FROM
pg_index i WHERE i.indisprimary AND i.indrelid = 873407585
8936852 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936853 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936854 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936855 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT c.relname
FROM pg_index i LEFT OUTER JOIN pg_class c ON c.oid = i.indexrelid WHERE
i.indrelid = 873407585AND i.indisprimary
8936856 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936857 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936858 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936859 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT Oid FROM
pg_index i WHERE i.indisprimary AND i.indrelid = 873407619
8936860 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936861 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936862 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936863 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT c.relname
FROM pg_index i LEFT OUTER JOIN pg_class c ON c.oid = i.indexrelid WHERE
i.indrelid = 873407619AND i.indisprimary
8936864 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936865 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936866 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936867 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT Oid FROM
pg_index i WHERE i.indisprimary AND i.indrelid = 873407653
8936868 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936869 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936870 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936871 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT c.relname
FROM pg_index i LEFT OUTER JOIN pg_class c ON c.oid = i.indexrelid WHERE
i.indrelid = 873407653AND i.indisprimary
8936872 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936873 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936874 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936875 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT Oid FROM
pg_index i WHERE i.indisprimary AND i.indrelid = 873407687
8936876 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936877 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936878 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936879 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT c.relname
FROM pg_index i LEFT OUTER JOIN pg_class c ON c.oid = i.indexrelid WHERE
i.indrelid = 873407687AND i.indisprimary
8936880 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936881 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936882 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936883 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT Oid FROM
pg_index i WHERE i.indisprimary AND i.indrelid = 873407744
8936884 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936885 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936886 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936887 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT Oid FROM
pg_index i WHERE i.indisprimary AND i.indrelid = 873407778
8936888 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936889 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936890 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936891 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT tgname,
tgfoid, tgtype, tgnargs, tgargs, tgisconstraint, tgconstrname,
tgdeferrable, tgconstrrelid, tginitdeferred, oid, (select relname from
pg_class where oid = tgconstrrelid) as tgconstrrelname from
pg_trigger where tgrelid = '889715365'::oid
8936892 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936893 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936894 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936895 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT Oid FROM
pg_index i WHERE i.indisprimary AND i.indrelid = 925014305
8936896 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936897 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936898 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936899 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT Oid FROM
pg_index i WHERE i.indisprimary AND i.indrelid = 931983025
8936900 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936901 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936902 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936903 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT c.relname
FROM pg_index i LEFT OUTER JOIN pg_class c ON c.oid = i.indexrelid WHERE
i.indrelid = 931983025AND i.indisprimary
8936904 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936905 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936906 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936907 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT tgname,
tgfoid, tgtype, tgnargs, tgargs, tgisconstraint, tgconstrname,
tgdeferrable, tgconstrrelid, tginitdeferred, oid, (select relname from
pg_class where oid = tgconstrrelid) as tgconstrrelname from
pg_trigger where tgrelid = '931983025'::oid
8936908 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936909 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936910 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936911 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT tgname,
tgfoid, tgtype, tgnargs, tgargs, tgisconstraint, tgconstrname,
tgdeferrable, tgconstrrelid, tginitdeferred, oid, (select relname from
pg_class where oid = tgconstrrelid) as tgconstrrelname from
pg_trigger where tgrelid = '939024007'::oid
8936912 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936913 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936915 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT definition as
viewdef, (select oid from pg_rewrite where rulename=('_RET' ||
viewname)::name) as view_oid from pg_views where viewname = 'sternon_es';
8936916 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936917 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT * FROM
pg_rewrite WHERE rulename = $1
8936918 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936919 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936920 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT Oid FROM
pg_index i WHERE i.indisprimary AND i.indrelid = 1124348089
8936921 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936922 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936923 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936924 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT Oid FROM
pg_index i WHERE i.indisprimary AND i.indrelid = 1153481046
8936925 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936926 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936927 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936928 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT c.relname
FROM pg_index i LEFT OUTER JOIN pg_class c ON c.oid = i.indexrelid WHERE
i.indrelid = 1153481046AND i.indisprimary
8936929 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936930 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936931 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936932 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT tgname,
tgfoid, tgtype, tgnargs, tgargs, tgisconstraint, tgconstrname,
tgdeferrable, tgconstrrelid, tginitdeferred, oid, (select relname from
pg_class where oid = tgconstrrelid) as tgconstrrelname from
pg_trigger where tgrelid = '1153481046'::oid
8936933 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936934 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936935 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936936 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT tgname,
tgfoid, tgtype, tgnargs, tgargs, tgisconstraint, tgconstrname,
tgdeferrable, tgconstrrelid, tginitdeferred, oid, (select relname from
pg_class where oid = tgconstrrelid) as tgconstrrelname from
pg_trigger where tgrelid = '1153481084'::oid
8936937 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936938 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936939 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936940 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT Oid FROM
pg_index i WHERE i.indisprimary AND i.indrelid = 1206644764
8936941 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936942 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936943 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936944 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT Oid FROM
pg_index i WHERE i.indisprimary AND i.indrelid = 1424610154
8936945 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936946 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936947 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936948 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT c.relname
FROM pg_index i LEFT OUTER JOIN pg_class c ON c.oid = i.indexrelid WHERE
i.indrelid = 1424610154AND i.indisprimary
8936949 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936950 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936951 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936952 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT Oid FROM
pg_index i WHERE i.indisprimary AND i.indrelid = 1517634425
8936953 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936954 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936955 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936956 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT Oid FROM
pg_index i WHERE i.indisprimary AND i.indrelid = 1927721821
8936957 2004-11-18 16:17:34 [31602] DEBUG: ProcessQuery
8936958 2004-11-18 16:17:34 [31602] DEBUG: CommitTransactionCommand
8936959 2004-11-18 16:17:34 [31602] DEBUG: StartTransactionCommand
8936960 2004-11-18 16:17:34 [31602] DEBUG: query: SELECT Oid FROM
pg_index i WHERE i.indisprimary AND i.indrelid = 2178456572
8936961 2004-11-18 16:17:34 [31602] ERROR: dtoi4: integer out of range
8936962 2004-11-18 16:17:34 [31602] DEBUG: AbortCurrentTransaction
8936963 2004-11-18 16:17:34 [31602] DEBUG: proc_exit(0)
8936964 2004-11-18 16:17:34 [31602] DEBUG: shmem_exit(0)
8936965 2004-11-18 16:17:34 [31602] DEBUG: exit(0)
8936966 /usr/bin/postmaster: reaping dead processes...
8936967 /usr/bin/postmaster: CleanupProc: pid 31602 exited with status 0
___________________________

I see what fails:

SELECT Oid FROM pg_index i WHERE i.indisprimary AND i.indrelid =
2178456572

I tried this query with quotes and it works!
( SELECT Oid FROM pg_index i WHERE i.indisprimary AND i.indrelid =
'2178456572')

It looks the same as all the problems we have with types
when doing <int4> = <float8> for example...

I can create an operator for such comparaison (as I did yesterday)
but for "dtoi4" I'm a bit... lost.
best regards
franck


Tom Lane wrote:
frbn <fr**@efbs-seafrigo.fr> writes:

we currently experience an original problem
on a production server with a postgresql 7.1.3
( a bit old, I know :\ )


More than a bit. I wouldn't worry about trying to fix the installation
--- concentrate on getting a dump so you can upgrade.
We stongly think about upgrading, but these problems
drops pg_dump to a fatal error... (Murphy's my best friend :] )


What error exactly? I'd suggest trying to use a newer version of
pg_dump (ie, the one from the PG version you want to update to)
to see if it avoids the problem. If not, turn on query logging
so you can see the queries issued by pg_dump, and let us know the
exact failure message and the last query issued before it happens.

regards, tom lane


---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3644
by: Jagdeesh | last post by:
Hai Colleagues, I am using Tomcat 4.1.24 and JDK 1.4.0_03 in my winXP machine. I've transferred a set of folders(containing jsp files) into tomcat's webapps directory(to /webapps/bob ,...
0
1095
by: Sangeetha Nagaraj | last post by:
Hi, I am writing a program to validate a XML file and i am getting an error. Here is my Code, and i get an error at "args.Exception" ("The 'urn:books:catalog' element is not declared. An error...
3
1175
by: Amar | last post by:
Hi everyone, I am trying now for 4-5 hours to write a simple code to validate a very simple XML and i still get an error. Here is my Code, and i always get an error at args.Exception ("The...
5
7802
by: azgoddess1 | last post by:
During the installation I get these error messages: ***** SQL1390C The environment variable DB2Instance is not defined or is invalid An error ocured while loading the command "C:\Program...
4
36037
by: Ralf Gross | last post by:
Hi, I installed DB2 V8.1 with fixpak 10, created a new database and can connect to the database. $ db2 connect to mkstest Database Connection Information Database server =...
9
10859
by: Ben Dewey | last post by:
Project: ---------------------------- I am creating a HTTPS File Transfer App using ASP.NET and C#. I am utilizing ActiveDirectory and windows security to manage the permissions. Why reinvent...
2
2762
by: Ivan | last post by:
Hi, I experienced a problem while upgrading from DB2 UDB LUW Workgroup edition 7.2 FixPak 10a to Workgroup Server edition 8.2 FixPak 12. The install wizard said the upgrade was successful but none...
1
4975
by: Matthew Lock | last post by:
Hello, I get some strange behaviour after calling a method on a third party library when I call: System.Diagnostics.Process.GetCurrentProcess().StartTime If I run the following code it works as...
10
6931
by: happyse27 | last post by:
Hi All, I got this apache errors(see section A1 and A2 below) when I used a html(see section b below) to activate acctman.pl(see section c below). Section D below is part of the configuration...
0
7123
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
7046
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7498
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5627
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5053
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4707
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3194
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3182
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.