Re: wrong protocol sequence? - Mailing list pgsql-general

From Tom Lane
Subject Re: wrong protocol sequence?
Date
Msg-id 29206.1127403107@sss.pgh.pa.us
Whole thread Raw
In response to wrong protocol sequence?  (Андрей <andyk@softwarium.net>)
List pgsql-general
=?UTF-8?B?0JDQvdC00YDQtdC5?= <andyk@softwarium.net> writes:
>     I'm sending such messages to server in native postgresql protocol:
> 'Parse' -> 'Describe' -> 'Sync' (get: 'Parse Complete' and 'Ready For
> Query' messages back).
>     But when the sequence became: 'Parse' -> 'Sync'  (get: 'Parse Complete'
> and 'Ready For Query' messages back), little pause, 'Describe' -> 'Sync'
> - server is crashing (error = memory can't be 'read')!

Please send a complete test case to pgsql-bugs, and we'll take a look.

It sounds to me like your program is sending invalid data, so you'll
want to fix that --- but the server really shouldn't dump core.

Also, what PG version are you working with?

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: ORDER BY results
Next
From: Guy Fraser
Date:
Subject: Re: array_dims array_lower/upper distance