count of query results in for loop - Mailing list pgsql-general

From Sim Zacks
Subject count of query results in for loop
Date
Msg-id 4A6EBEE8.9030903@compulab.co.il
Whole thread Raw
Responses Re: count of query results in for loop
List pgsql-general
Is there any way to (without a separate count query first) to know the
number of rows returned in a:

    for x in select ... Loop

    ...

    End Loop

structure?



pgsql-general by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: For production: 8.4 or 8.3?
Next
From: Grzegorz Jaśkiewicz
Date:
Subject: Re: For production: 8.4 or 8.3?