| From: | Rui Pacheco <rui(dot)pacheco(at)gmail(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: How to debug the wire protocol? |
| Date: | 2017-02-09 19:17:33 |
| Message-ID: | 39B29636-F1B5-46AE-842F-C7D439B08A34@gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
I’ve been anxiously waiting for that reply but got nothing. I even mailed the mailing list manager again with no reply. And when I click on that link I get a server error: "An internal server error occurred.”
But thanks, this helps me focus on the problem.
> On 9 Feb 2017, at 20:15, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> Rui Pacheco <rui(dot)pacheco(at)gmail(dot)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/22DB2E08-6329-4EF8-B3E5-C0A7728A067B%40gmail.com
>
>> Is there a way to see how Postgres parses the message? I’ve set logging to DEBUG5 but the only thing I can see in the logs is, among other things, the message
>
>> ERROR: invalid string in message
>> FATAL: invalid frontend message type 63
>
> That seems to comport with the theory I suggested before, that you were
> sending an incorrect message length word --- although this additional
> evidence indicates that the sent length is too short, not too long
> which is what I'd been thinking. Or possibly you left out required
> field(s) of the message. Anyway it's expecting a null-terminated string
> and not finding one in the remaining message data.
>
> regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Steele | 2017-02-09 19:19:51 | Re: [PATCH] Rename pg_switch_xlog to pg_switch_wal |
| Previous Message | Tom Lane | 2017-02-09 19:15:19 | Re: How to debug the wire protocol? |