Hi Doug
I dont know Brio either but keep in mind that tables and views are
allready defined types which you could use here.
So if your procedure just selects a few rows from a view or table but
should return all collumns from the source you don't have to define a
return type.
David Gardner schrieb:
> Never worked with Brio, but have you defined a data-type in pgsql that
> your function would be returning? Something like:
>
> CREATE TYPE "myType" AS
> ("name" text,
> "start" timestamp without time zone,
> "end" timestamp without time zone,
> error text);
> ALTER TYPE "myType" OWNER TO "me";
>
> then the function definition would start off like:
> CREATE OR REPLACE FUNCTION "getData"()
> RETURNS SETOF "myType" AS
> .....