Thread: pgsql/src/interfaces/libpq fe-connect.c fe-exe ...

pgsql/src/interfaces/libpq fe-connect.c fe-exe ...

From
Peter Eisentraut - PostgreSQL
Date:
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    petere@hub.org    01/07/06 13:58:53

Modified files:
    src/interfaces/libpq: fe-connect.c fe-exec.c fe-misc.c
                          libpq-int.h

Log message:
    Repair libpq to follow protocol by not sending Terminate messages before
    the startup exchange is complete.  Also make sure that packets defined as
    single bytes aren't sent with a trailing '\0'.


Re: pgsql/src/interfaces/libpq fe-connect.c fe-exe ...

From
Bruce Momjian
Date:
I think ODBC wasn't a problem only because we added the 'X' only
recently.

> CVSROOT:    /home/projects/pgsql/cvsroot
> Module name:    pgsql
> Changes by:    petere@hub.org    01/07/06 13:58:53
>
> Modified files:
>     src/interfaces/libpq: fe-connect.c fe-exec.c fe-misc.c
>                           libpq-int.h
>
> Log message:
>     Repair libpq to follow protocol by not sending Terminate messages before
>     the startup exchange is complete.  Also make sure that packets defined as
>     single bytes aren't sent with a trailing '\0'.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026