From: Oleg Lebedev <olebedev@waterford.org>
To: Postgres SQL Mailing List <pgsql-sql@postgresql.org>
Subject: Re: pg_atoi error
Date: Tue, 12 Feb 2002 14:35:24 -0700
Message-ID: <3C698A9C.C2DFA3A7@waterford.org> (raw)
References: <3C698464.DC9D6218@waterford.org>
Never mind my previous message.
It turns out that the name of the variable I was using inside a function was
the same as one of the column names in the record I used inside a loop.
thanks,
Oleg
Oleg Lebedev wrote:
> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: olebedev@waterford.org
Subject: Re: pg_atoi error
In-Reply-To: <3C698A9C.C2DFA3A7@waterford.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox