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

Started by Peter Eisentraut - PostgreSQLabout 25 years ago2 messagescomitters
Jump to latest

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'.

#2Bruce Momjian
bruce@momjian.us
In reply to: Peter Eisentraut - PostgreSQL (#1)
Re: pgsql/src/interfaces/libpq fe-connect.c fe-exe ...

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