On 07/04/2013 09:33 AM, giozh wrote:
ok, i've modify mi function, but now i'm not able to execute it:

SELECT check_if_exist(10, table, col);

ERROR:  column "table" does not exist



test=> select check_if_if_exist(1, 'int_test', 'i');
 check_if_if_exist
-------------------
 t
(1 row)


You need to quote table_name and table_column.


--
Adrian Klaver
adrian.kla...@gmail.com


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to