• Bruce Momjian's avatar
    Obviously noone has ever tested the doubling of availiable result ids · f9a1ea6f
    Bruce Momjian authored
    up to
    reaching the hard limit. After opening 16(=current REST_START value)
    results via pg_exec, the next pg_exec tries to find an empty slot
    forever :-( . In PgSetResultId file pgtclId.c in the for loop there
    has to be done a break, if res_max ist reached. The piece of code
    should look like
            if (resid == connid->res_max)
            {
                resid = 0;
                break;   /* the break as to be added */
            }
    
    now everything works (double available results after reaching
    RES_START up to reaching RES_HARD_MAX)
    
    Gerhard Hintermayer
    f9a1ea6f
pgtclId.c 22.6 KB