Re: unable to call a function

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: unable to call a function
Дата
Msg-id 51D5A564.9020008@gmail.com
обсуждение исходный текст
Ответ на Re: unable to call a function  (giozh <giozh@yahoo.it>)
Ответы Re: unable to call a function  (giozh <giozh@yahoo.it>)
Список 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 по дате отправления:

Предыдущее
От: giozh
Дата:
Сообщение: Re: unable to call a function
Следующее
От: giozh
Дата:
Сообщение: Re: unable to call a function