> 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 <[EMAIL PROTECTED]>

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

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to