Re: FETCH a cursor inside a SELECT

Поиск
Список
Период
Сортировка
От David Crawshaw
Тема Re: FETCH a cursor inside a SELECT
Дата
Msg-id 200211301129.06743.david@zentus.com
обсуждение исходный текст
Ответ на Re: FETCH a cursor inside a SELECT  ("Shridhar Daithankar" <shridhar_daithankar@persistent.co.in>)
Список pgsql-general
On Sat, 30 Nov 2002 00:23, you wrote:
> I realised that after I shot the answer. Not to sure what I am saying
> here but how about the join on that view and the single column table?
> Will that solve your problem?

Hmm, I don't quite see what you're saying here.

I've rewritten my queries as 'Table Functions' (that name is a little
ambiguous), and they work. So returning a SETOF MyTable, and then
executing the query as:

SELECT * FROM matchClass1(3);

Works. I'll just have to upgrade my production environment to 7.3 ahead
of schedule.

Thanks for your ideas,

David

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: strange pg_stats behaviour?
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: ALTER TABLE & COLUMN