Re: Lack of Sanity Checking in file 'misc.c' for PostgreSQL 9.4.x
От
Michael Meskes
Тема
Re: Lack of Sanity Checking in file 'misc.c' for PostgreSQL
9.4.x
Дата
Msg-id
20150615123421.GB12001@feivel.credativ.lan
Ответ на
Re: Lack of Sanity Checking in file 'misc.c' for PostgreSQL 9.4.x (Michael Paquier)
Список
Дерево обсуждения
Lack of Sanity Checking in file 'misc.c' for PostgreSQL 9.4.x Bill Parker <wp02855@gmail.com>
Re: Lack of Sanity Checking in file 'misc.c' for PostgreSQL
9.4.x Michael Meskes <meskes@postgresql.org>
Re: Lack of Sanity Checking in file 'misc.c' for PostgreSQL 9.4.x Michael Paquier <michael.paquier@gmail.com>
Re: Lack of Sanity Checking in file 'misc.c' for PostgreSQL
9.4.x Michael Meskes <meskes@postgresql.org>
Re: Lack of Sanity Checking in file 'misc.c' for PostgreSQL 9.4.x Michael Paquier <michael.paquier@gmail.com>
Re: Lack of Sanity Checking in file 'misc.c' for PostgreSQL
9.4.x Michael Meskes <meskes@postgresql.org>
Re: Lack of Sanity Checking in file 'misc.c' for PostgreSQL 9.4.x Michael Paquier <michael.paquier@gmail.com>
On Mon, Jun 15, 2015 at 04:35:47PM +0900, Michael Paquier wrote: > So, here is a patch implementing those ideas. In code paths where a > line number is available ecpg_raise() is called to report the error. > In other paths ecpg_log() is used to log an "out of memory" message. > Now, the routines of error.c, like ecpg_raise() can fail as well their > malloc() call, hence it seems adapted to me to fallback to ecpg_log() > and report the error to the user. > Thoughts? Sounds good to me. Patch committed. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Meskes at (Debian|Postgresql) dot Org Jabber: michael.meskes at gmail dot com VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL
В списке pgsql-bugs по дате отправления
От: digoal@126.com
Дата: