Re: Strange Prepare bug

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Strange Prepare bug
Дата
Msg-id 20675.1043825851@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Strange Prepare bug  (Rod Taylor <rbt@rbt.ca>)
Ответы Re: Strange Prepare bug  (Rod Taylor <rbt@rbt.ca>)
Список pgsql-hackers
Rod Taylor <rbt@rbt.ca> writes:
> PREPARE "pg_psql_dd2"(text,text) AS=20
> SELECT true
> FROM (
>   SELECT true
>   FROM pg_catalog.pg_proc p,
>        pg_catalog.pg_name_pattern( $2 ) AS (schpat text, propat text)
>   WHERE p.prorettype <> 'pg_catalog.cstring'::pg_catalog.regtype
> ) AS tt,
>   (SELECT $1 AS cmd) AS cmd;

> ERROR:  Parameter '$1' is out of range

I get

ERROR:  Function pg_catalog.pg_name_pattern(text) does not exist

It could be the error is inside your custom function?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Recursive unions
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Specifying Rowtypes