Re: 7.3 -> pg_atoi: zero-length string

Поиск
Список
Период
Сортировка
От SZUCS Gábor
Тема Re: 7.3 -> pg_atoi: zero-length string
Дата
Msg-id 00ca01c29af9$bd678ed0$0a03a8c0@fejleszt2
обсуждение исходный текст
Ответ на Re: [HACKERS] 7.3 -> pg_atoi: zero-length string  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: 7.3 -> pg_atoi: zero-length string  (Lee Kindness <lkindness@csl.co.uk>)
Список pgsql-general
I don't have 7.3 installed, just wondering...

What do the following do in PostgreSQL 7.3?

SELECT int4('');
SELECT CAST('' AS int4);

G.
--
while (!asleep()) sheep++;

---------------------------- cut here ------------------------------
----- Original Message -----
From: "Ben-Nes Michael" <miki@canaan.co.il>
Sent: Tuesday, December 03, 2002 6:17 PM


> Well I already fixed all my application, it was quiet easy though more
code
> was entered :(
>
> like:
>
> if ( !is_numeric($var) )
>     $var = 0;
>
> I hope the other projects will fix compliance fast.
>
> maybe this feature should be enabled when compiling ?



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

Предыдущее
От: "Prachi Jain"
Дата:
Сообщение: Regarding connection thru web application
Следующее
От: Lee Kindness
Дата:
Сообщение: Re: 7.3 -> pg_atoi: zero-length string