src/Postgresql/PostgresqlQuery.php
public function setLimit($limit = 0, $offset = 0)
	{
		$this->limit  = (int) $limit;
		$this->offset = (int) $offset;

		return $this;
	}
public function setLimit($limit = 0, $offset = 0)
	{
		$this->limit  = (int) $limit;
		$this->offset = (int) $offset;

		return $this;
	}
public function setLimit ( $ limit = 0 , $ offset = 0 ) { $ this -> limit = ( int ) $ limit ; $ this -> offset = ( int ) $ offset ; return $ this ; }
Sets the offset and limit for the result set, if the database driver supports it.

Usage:
$query->setLimit(100, 0); (retrieve 100 rows, starting at first record)
$query->setLimit(50, 50); (retrieve 50 rows, starting at 50th record)

@param   integer  $limit   The limit for the result set
@param   integer  $offset  The offset for the result set

@return  PostgresqlQuery  Returns this object to allow chaining.

@since   1.0
Sets the offset and limit for the result set if the database driver supports it .