pg_atoi error

Поиск
Список
Период
Сортировка
От Oleg Lebedev
Тема pg_atoi error
Дата
Msg-id 3C698464.DC9D6218@waterford.org
обсуждение исходный текст
Список pgsql-sql
Hi everybody,
I am getting the following error when calling a procedure on one
database, but the same procedure runs ok on another database, which is a
smaller instance of the former database:
ERROR: pg_atoi: error in "Production": can't parse "Production"

Inside the procedure I am trying to compare one of the table fields to
''Procedure'' as follows:
..
IF OLD.status != ''Procedure''   AND NEW.status=''Procedure''
...

I have no idea what can cause this.
Please help.

thanks,

Oleg




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

Предыдущее
От: "Andrew G. Hammond"
Дата:
Сообщение: Re: SQL request to retrieve the type of columns
Следующее
От: Oleg Lebedev
Дата:
Сообщение: Re: pg_atoi error