ERROR:  pg_atoi: error in "NULL": can't parse "NULL"

Поиск
Список
Период
Сортировка
Искать

ERROR:  pg_atoi: error in "NULL": can't parse "NULL"

От:
Rado Petrik <r.p@szm.sk>
Дата:
Hi , 


I have any column. 'test' . When I insert 'none' to column 'test' , no
problem.

test
-----
NONE 

But when I update column , postgreSQL return this error.
ERROR:  pg_atoi: error in "NULL": can't parse "NULL"

Where is problem ? 

Thanks
-- 
Rado Petrik 


Re: ERROR:Â pg_atoi: error in"NULL": can't parse "NULL"

От:
Josh Berkus <josh@agliodbs.com>
Дата:
Rado,

> But when I update column , postgreSQL return this error.
>
> ERROR:  pg_atoi: error in "NULL": can't parse "NULL"
>
> Where is problem ?

Please post your updated statement.

-- 
Josh Berkus
Aglio Database Solutions
San Francisco


Re: ERROR:  pg_atoi: error in "NULL": can't

От:
Jean-Luc Lachance <jllachan@nsd.ca>
Дата:
Use NULL without quotes


Rado Petrik wrote:
> 
> Hi ,
> 
> I have any column. 'test' . When I insert 'none' to column 'test' , no
> problem.
> 
> test
> -----
> NONE
> 
> But when I update column , postgreSQL return this error.
> 
> ERROR:  pg_atoi: error in "NULL": can't parse "NULL"
> 
> Where is problem ?
> 
> Thanks
> --
> Rado Petrik 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/docs/faqs/FAQ.html


FAQ