# File lib/dbd/pg/tuples.rb, line 63
    def fetchrow
        @index += 1
        if @index < @pg_result.num_tuples && @index >= 0
            @row = Array.new
            0.upto(@pg_result.num_fields-1) do |x|
                @row.push(@pg_result.getvalue(@index, x))
            end
            @row
        else
            nil
        end
    end