| From: | Francisco Olarte <folarte(at)peoplecall(dot)com> |
|---|---|
| To: | memtec <juanantonio(dot)izquierdo(at)gmail(dot)com> |
| Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Incomplete startup packet help needed |
| Date: | 2014-11-06 12:40:14 |
| Message-ID: | CA+bJJby_FjiaReUALY31TPvkH5obrNVCb-7ZO-k7A_rt0Lv9Nw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Hi Juan Antonio:
On Tue, Nov 4, 2014 at 9:54 PM, memtec <juanantonio(dot)izquierdo(at)gmail(dot)com>
wrote:
> You can force this message executing:
> $ echo | nc SERVER_IP 5432
> 2014-11-04 21:44:37 CET LOG: incomplete startup packet
>
What do you need help on? PG uses a binary protocol, you sent it bad data
( I think this will open connection, send a \n byte, shutdown it ) and it
complained in the first check ( I suppose it is due to the connection
expecting an startup packet with a given format, and it couldn't get it
because it's longer than 1 byte, everything is prety well documented, RTFM
).
Regards.
Francisco Olarte.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Rémy-Christophe Schermesser | 2014-11-06 12:56:45 | Re: Performance problem on 2 PG versions on same query |
| Previous Message | Kirit Parmar | 2014-11-06 12:22:41 | Re: DATA corruption after promoting slave to master |