Re: Some unknown error in a function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jasbinder Singh Bali" <jsbali(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Some unknown error in a function
Date: 2007-02-09 17:49:51
Message-ID: 1906.1171043391@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Jasbinder Singh Bali" <jsbali(at)gmail(dot)com> writes:
> I run this function using
> select sp_insert_tbl_vrfy_mx(55,'jas','xyz.com','192.168.0.105', '
> mail.xyz.com,'mxrecoredmxjdlkfjdk')
> and get the following error:-

> CONTEXT: SQL statement "SELECT $1 =' '"
> PL/pgSQL function "sp_insert_tbl_vrfy_mx" line 12 at if

You didn't show us the actual error message, but I suppose it's unhappy
that ' ' is not a legal inet value.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chandra Sekhar Surapaneni 2007-02-09 17:58:13 Re: Some unknown error in a function
Previous Message Richard Broersma Jr 2007-02-09 17:40:10 Re: Modifying a foreign key constraint?