Re: Strange Prepare bug

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: Strange Prepare bug
Дата
Msg-id 1043844749.76461.94.camel@jester
обсуждение исходный текст
Ответ на Re: Strange Prepare bug  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> I get
>
> ERROR:  Function pg_catalog.pg_name_pattern(text) does not exist
>
> It could be the error is inside your custom function?

I forgot that is a new function :)


Try this one:

PREPARE "pg_psql_dd2"(text,text) AS
SELECT true
FROM ( SELECT true FROM pg_catalog.pg_proc p,      (SELECT substr($2, 1, 3) as schpat, substr($2, 3, 5) as propat)
as t WHERE p.prorettype <> 'pg_catalog.cstring'::pg_catalog.regtype
) AS tt, (SELECT $1 AS cmd) AS cmd

--
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

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

Предыдущее
От: "Luis Alberto Amigo Navarro"
Дата:
Сообщение: signal handling
Следующее
От: Rod Taylor
Дата:
Сообщение: Re: Please include hier-patch in next PostgreSQL version