Re: [HACKERS] How to debug the wire protocol?

2017-02-09 Thread Rui Pacheco
The answers are great, thanks! > On 9 Feb 2017, at 20:26, Andres Freund <and...@anarazel.de> wrote: > > On 2017-02-09 20:17:33 +0100, Rui Pacheco wrote: >> I’ve been anxiously waiting for that reply but got nothing. I even mailed >> the mailing list manager again with

Re: [HACKERS] How to debug the wire protocol?

2017-02-09 Thread Rui Pacheco
Tom Lane <t...@sss.pgh.pa.us> wrote: > > Rui Pacheco <rui.pach...@gmail.com> writes: >> I’ve sent a similar email to the general mailing list but got no reply. > > Uh, multiple people answered you, see > https://www.postgresql.org/message-id/flat/22DB2E0

Re: [HACKERS] How to debug the wire protocol?

2017-02-09 Thread Rui Pacheco
gt; wrote: > > Hi > > 2017-02-09 20:01 GMT+01:00 Rui Pacheco <rui.pach...@gmail.com > <mailto:rui.pach...@gmail.com>>: > Hello, > > I’ve sent a similar email to the general mailing list but got no reply. > > I’m trying to write my own implementation of the wir

[HACKERS] How to debug the wire protocol?

2017-02-09 Thread Rui Pacheco
Hello, I’ve sent a similar email to the general mailing list but got no reply. I’m trying to write my own implementation of the wire protocol. I’m stuck at the Parse message where I send it to the server but always get the following error: “Could not parse statement invalid string in message”