• T
    Adjust the behavior of the PQExpBuffer code to make it have well-defined · 739259d6
    Tom Lane 提交于
    results (ie, an empty "broken" buffer) if memory overrun occurs anywhere
    along the way to filling the buffer.  The previous coding would just silently
    discard portions of the intended buffer contents, as exhibited in trouble
    report from Sam Mason.  Also, tweak psql's main loop to correctly detect
    and report such overruns.  There's probably much more that should be done
    in this line, but this is a start.
    739259d6
input.c 7.9 KB