Re: postgres database crashed - Mailing list pgsql-hackers

From Tom Lane
Subject Re: postgres database crashed
Date
Msg-id 29820.1160611544@sss.pgh.pa.us
Whole thread Raw
In response to postgres database crashed  (Ashish Goel <postgres_help@yahoo.com>)
Responses Re: postgres database crashed
List pgsql-hackers
Ashish Goel <postgres_help@yahoo.com> writes:
> We have a following table xyz( id int , fname varchar(50), img image)
> where image is a data type we have created similar to lo.
> ...
> Can somebody suggest us what might be the cause of error and what can we do to resolve it ?

Incorrect code in your custom datatype, almost certainly.  Check
computations of memory size allocations, for example.  Test it in
a backend compiled with --enable-cassert.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: Repair incorrect check for coercion of unknown literal to
Next
From: "Mark Woodward"
Date:
Subject: Re: Hints WAS: Index Tuning Features