Re: [HACKERS] Try to fix endless loop in ecpg with informix mode

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: [HACKERS] Try to fix endless loop in ecpg with informix mode
Дата
Msg-id 1509607512.2750.76.camel@postgresql.org
обсуждение исходный текст
Ответ на Re: [HACKERS] Try to fix endless loop in ecpg with informix mode  (高增琦 <pgf00a@gmail.com>)
Ответы Re: [HACKERS] Try to fix endless loop in ecpg with informix mode
Список pgsql-hackers
> I am afraid the changes may separate "7.a" to "7" and "a", then error
> out
> with "invalid input syntax for type int" for "a".

Which is correct, is it not?

> How about changes as below? (use following the if to decide true or
> false)
> ...
>            return false;
> +            } while (isdigit(**scan_length));

Yes, this is certainly correct and better than what I committed. What
was I thinking yesterday?

I think the same function is used for identifying garbage in floats
which might ask for different logic. Let me check.

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 at xmpp dot meskes dot org
VfL Borussia! Força Barça! SF 49ers! Use Debian GNU/Linux, PostgreSQL


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: [HACKERS] SQL/JSON in PostgreSQL
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] pg_basebackup fails on Windows when using tablespace mapping