function query error: column does not exist - Mailing list pgsql-general

From giozh
Subject function query error: column does not exist
Date
Msg-id 1373533265226-5763460.post@n5.nabble.com
Whole thread Raw
Responses Re: function query error: column does not exist
List pgsql-general
i've a function takes as argument some values of few types, and make some
INSERT operation using that values.
I've occour an error while calling that function, the error is on a varchar
variable.

this is the insert code:

>EXECUTE 'INSERT INTO table VALUES('||value1||','[...]','||value_char||')';

and the error is on value_char. pg told me that "column does not exist".
Why?




--
View this message in context:
http://postgresql.1045698.n5.nabble.com/function-query-error-column-does-not-exist-tp5763460.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


pgsql-general by date:

Previous
From: Giuseppe Broccolo
Date:
Subject: Re: pg recovery
Next
From: Jayadevan M
Date:
Subject: Re: pg recovery