Re: BUG #3841: core dump in uuid-ossp
От
Alvaro Herrera
Тема
Re: BUG #3841: core dump in uuid-ossp
Дата
Msg-id
20071227141338.GH5709@alvh.no-ip.org
Ответ на
Re: BUG #3841: core dump in uuid-ossp (Alvaro Herrera)
Список
Дерево обсуждения
BUG #3841: core dump in uuid-ossp "Dmitriy" <im@ionflux.ru>
Re: BUG #3841: core dump in uuid-ossp Alvaro Herrera <alvherre@commandprompt.com>
Re: BUG #3841: core dump in uuid-ossp Alvaro Herrera <alvherre@commandprompt.com>
Re: BUG #3841: core dump in uuid-ossp Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #3841: core dump in uuid-ossp Alvaro Herrera <alvherre@commandprompt.com>
Re: BUG #3841: core dump in uuid-ossp Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #3841: core dump in uuid-ossp Alvaro Herrera <alvherre@commandprompt.com>
Re: BUG #3841: core dump in uuid-ossp Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #3841: core dump in uuid-ossp Alvaro Herrera <alvherre@commandprompt.com>
Alvaro Herrera wrote: > Dmitriy wrote: > > > in sql console: > > postgres=# select uuid_nil(); > > server closed the connection unexpectedly > > This probably means the server terminated abnormally > > before or while processing the request. > > Thanks for the report. I think the problem here is that we're not > checking the return values of uuid functions. For example uuid_create > could fail due to memory shortage or a number of other problems. Please try the attached patch. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support
В списке pgsql-bugs по дате отправления