Can you tell which page you're on of a DB API pager? I'm doing the usual sort of Drupal 7 DB API pager stuff to work through a bunch of items, e.g (greatly simplified):

$the_nodes = db_select('node', 'n')-&gt;extend('PagerDefault');
-- conditions, fields, etc. --
$the_nodes-&gt;limit(10);
return $the_nodes-&gt;execute()-&gt;fetchCol();


and then the appropriate rendering code to make the pager study appear, of course.

What I'd like to be able to do is, from inside the function containing this query, to be able to tell which page of the pager I'm on -- in particular, if I'm on the first page, or not.  The idea is to insert a couple of other records at the beginning of the list, but only on the first page.

So: Does anybody know if this is possible?  Thanks!
Instead of access $_GET directly, you should use pager_find_page().