Re: unable to call a function

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: giozh <giozh(at)yahoo(dot)it>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: unable to call a function
Date: 2013-07-04 16:40:04
Message-ID: 51D5A564.9020008@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)klaver(at)gmail(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message giozh 2013-07-04 17:14:58 Re: unable to call a function
Previous Message giozh 2013-07-04 16:33:58 Re: unable to call a function