Re: unable to call a function - Mailing list pgsql-general

From Adrian Klaver
Subject Re: unable to call a function
Date
Msg-id 51D5A564.9020008@gmail.com
Whole thread Raw
In response to Re: unable to call a function  (giozh <giozh@yahoo.it>)
Responses Re: unable to call a function  (giozh <giozh@yahoo.it>)
List pgsql-general
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.klaver@gmail.com


pgsql-general by date:

Previous
From: giozh
Date:
Subject: Re: unable to call a function
Next
From: giozh
Date:
Subject: Re: unable to call a function