Konstantin Izmailov <pgfizm@xxxxxxxxx> writes: > However, it is not clear how to determine max rows count that the > cursor can return. The count is necessary for two purposes: render > scrollbar and support jumping to the last rows in the grid. You can MOVE LAST, it'll tell you how many rows are in there, then MOVE FIRST or wherever then FETCH 10 or your page size in rows. Regards, -- dim -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general