Search Postgresql Archives

Re: type "xxxxxxx" does not exist

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/19/2017 01:06 PM, Micky Hulse wrote:
ERROR:  type "xxx_xxx_xxxxx" does not exist
LINE 1:  DECLARE results xxx_xxx_xxxxx;

It sounds like the type might be in a different schema. You can say \dn to see the schemas in your database, and \dT+ will show the types along with their schema. You could also do \dT+ foo.* to see all the types in schema foo.

If you find that the type isn't in the public schema, try setting your schema search path so that the function can locate it, e.g.:

    SET search_path TO foo, public;

Good luck!

Paul




--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux