Re: wrong protocol sequence?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Андрей <andyk(at)softwarium(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: wrong protocol sequence?
Date: 2005-09-22 15:31:47
Message-ID: 29206.1127403107@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

=?UTF-8?B?0JDQvdC00YDQtdC5?= <andyk(at)softwarium(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tony Wasson 2005-09-22 16:37:53 Re: Network Flow Schema + Bulk Import/Updates
Previous Message Guy Fraser 2005-09-22 15:31:00 Re: array_dims array_lower/upper distance