Re: postgres database crashed
От | Ashish Goel |
---|---|
Тема | Re: postgres database crashed |
Дата | |
Msg-id | 20061015155637.1745.qmail@web58104.mail.re3.yahoo.com обсуждение исходный текст |
Ответ на | Re: postgres database crashed (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: postgres database crashed
|
Список | pgsql-hackers |
But the same code worked when I inserted around 2500 images in the database. After that it started crashing. So , I don'tthink it's because of error in the code. Can u suggest some other possible reasons and also why is it crashing at callto memcpy(). I have also checked the memory allocations , and i don't find problem there.<br /><br /><br /><br /><b><i>TomLane <tgl@sss.pgh.pa.us></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16,16, 255); margin-left: 5px; padding-left: 5px;"> Ashish Goel writes:<br />> We have a following table xyz( idint , fname varchar(50), img image)<br />> where image is a data type we have created similar to lo.<br />> ...<br/>> Can somebody suggest us what might be the cause of error and what can we do to resolve it ?<br /><br />Incorrectcode in your custom datatype, almost certainly. Check<br />computations of memory size allocations, for example.Test it in<br />a backend compiled with --enable-cassert.<br /><br /> regards, tom lane<br /></blockquote><br /><p><hrsize="1" />How low will we go? Check out Yahoo! Messengers low <a href="http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com"> PC-to-Phonecall rates.</a>
В списке pgsql-hackers по дате отправления: