=?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