Thread: pgsql/src/backend/libpq pqcomm.c

pgsql/src/backend/libpq pqcomm.c

From
tgl@postgresql.org (Tom Lane)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    02/04/20 21:03:33

Modified files:
    src/backend/libpq: pqcomm.c

Log message:
    Fix typo.


Re: pgsql/src/backend/libpq pqcomm.c

From
Peter Eisentraut
Date:
Tom Lane writes:

> CVSROOT:    /cvsroot
> Module name:    pgsql
> Changes by:    tgl@postgresql.org    02/04/20 21:03:33
>
> Modified files:
>     src/backend/libpq: pqcomm.c
>
> Log message:
>     Fix typo.

Did you just clarify the comments or was there something wrong?

--
Peter Eisentraut   peter_e@gmx.net


Re: pgsql/src/backend/libpq pqcomm.c

From
Tom Lane
Date:
Peter Eisentraut <peter_e@gmx.net> writes:
> Did you just clarify the comments or was there something wrong?

You had
    PqRecvPointer += i + 1;
but I believe correct is
    PqRecvPointer = i + 1;

            regards, tom lane