Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 0215013C6999 for ; Fri, 4 May 2012 11:24:06 -0300 (ADT) Received: from gwmta.wicourts.gov ([165.219.244.99] helo=gw.wicourts.gov) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SQJQT-0002aB-Ud for pgsql-bugs@postgresql.org; Fri, 04 May 2012 14:24:06 +0000 Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Fri, 04 May 2012 09:23:52 -0500 Message-Id: <4FA3A01E0200002500047876@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.2 Date: Fri, 04 May 2012 09:23:42 -0500 From: "Kevin Grittner" To: ,"Tom Lane" Cc: Subject: Re: BUG #6627: Error while launching pgAdmin III References: <4041.1336140029@sss.pgh.pa.us> In-Reply-To: <4041.1336140029@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Pg-Spam-Score: -4.2 (----) X-Archive-Number: 201205/22 X-Sequence-Number: 32993 Tom Lane wrote: > pooja_khobragade@persistent.co.in writes: >> Error while connecting to server FATAL: shmemindex size is wrong >> for datastructure xlog ctl : expected xxx actaul xxx > > That's an interesting one. The only theory that comes to mind is > that you've got multiple versions of Postgres installed on your > machine, and when the postmaster tries to launch a subprocess, the > wrong copy of postgres.exe is being selected for some reason. Or > possibly you updated in place and didn't restart the postmaster? Just so the OP is aware, running pg_ctl with the restart option is generally not adequate to prevent problems with an update, in place or not. The postmaster must be stopped and then started. Some service scripts may do that, others don't. So the safe thing, unless you know exactly how your service script is written, is to stop and then start again. -Kevin