Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tr1BD-0000Sr-F5 for pgsql-bugs@arkaria.postgresql.org; Fri, 04 Jan 2013 06:54:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Tr1BC-0005rR-He for pgsql-bugs@arkaria.postgresql.org; Fri, 04 Jan 2013 06:54:58 +0000 Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tr1BC-0005rM-14 for pgsql-bugs@postgresql.org; Fri, 04 Jan 2013 06:54:58 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tr1BA-0003cK-5A for pgsql-bugs@postgresql.org; Fri, 04 Jan 2013 06:54:57 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r046sr9J011364; Fri, 4 Jan 2013 01:54:53 -0500 (EST) From: Tom Lane To: smatiz@hotmail.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #7784: trouble with pl ERROR: missing FROM-clause entry for table In-reply-to: References: Comments: In-reply-to smatiz@hotmail.com message dated "Thu, 03 Jan 2013 18:20:10 +0000" Date: Fri, 04 Jan 2013 01:54:53 -0500 Message-ID: <11363.1357282493@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org smatiz@hotmail.com writes: > RAISE NOTICE 'valores.iva (%)', valores.iva; I see a UTF8 byte order mark (BOM) in front of "valores.iva" there, which plpgsql is interpreting as part of the record name, so it doesn't find any matching variable. I'd be the first to agree that the error message isn't too helpful. But your text editor and your mailer didn't do you any favors either, if they hid that BOM from you. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs