Thanks a lot.
pozdrowienia
mk
2009/7/10 Pavel Stehule
> Hello
>
> you can do it simply in new PostgreSQL 8.4. In older version the best
> way what I know is using a stored procedure, that returns table
>
> create or replace function foo()
> returns setof yourtablename as $$
> declare
> r your
Hello
you can do it simply in new PostgreSQL 8.4. In older version the best
way what I know is using a stored procedure, that returns table
create or replace function foo()
returns setof yourtablename as $$
declare
r yourtablename;
s yourtablename;
result youratblename;
first boolean = tr