Michael Dunn <michael@2cactus.com> writes:
> is there a command, temporary table, or session in memory that I can
> obtain a total count of records for that cursor?
Not short of reading out the tuples ... in general there is no way to
predict the number of tuples that a query will return, except by
computing them.
regards, tom lane