Search Postgresql Archives

Re: What is made a mistake with SP?

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

 




On Jan 23, 2006, at 8:34 AM, Marcos wrote:

ERROR: type "tipo_compras_calculado" not exists.

You have a set returning function (RETURNS setof tipo_compras_calculado), so this means you need to declare this type. So you should have a CREATE TYPE statement somewhere which defines the fields of tipo_compras_calculado. Something like:

CREATE TYPE tipo_compras_calculado (
	id text,
	produto integer,
...
);


John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL



[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