Re: How to call table returning function with other table - Mailing list pgsql-sql

From Markus Bertheau
Subject Re: How to call table returning function with other table
Date
Msg-id 684362e10603190532p1903fca8p@mail.gmail.com
Whole thread Raw
In response to How to call table returning function with other table  (Svenne Krap <svenne@krap.dk>)
Responses Re: How to call table returning function with other table
List pgsql-sql
2006/3/19, Svenne Krap <svenne@krap.dk>:

> So it is something like "select xxx(id) from othertable where otherwhere
> = 't'" except that it mangles the columns into an array. I have tried to
> move the function-call into the fromlist (as it is usually done) but I
> seem unsuccessful in getting the ID's into it.

You have to use something like SELECT (xxx(id)).* FROM othertable
WHERE otherwhere = 't', I believe.

Markus Bertheau


pgsql-sql by date:

Previous
From: Svenne Krap
Date:
Subject: How to call table returning function with other table
Next
From: Svenne Krap
Date:
Subject: Re: How to call table returning function with other table