Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 07019632B94 for ; Fri, 3 Sep 2010 15:44:38 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 55108-08 for ; Fri, 3 Sep 2010 18:44:29 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id A1FFC632ACE for ; Fri, 3 Sep 2010 15:44:29 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o83IiSZf027254; Fri, 3 Sep 2010 14:44:28 -0400 (EDT) To: Gerhard Wiesinger cc: Pavel Stehule , Andreas Kretschmer , pgsql-performance@postgresql.org Subject: Re: Major performance problem after upgrade from 8.3 to 8.4 In-reply-to: References: <20100830072230.GA28373@tux> <11111.1283185373@sss.pgh.pa.us> <12837.1283186981@sss.pgh.pa.us> <21281.1283433278@sss.pgh.pa.us> <22001.1283523290@sss.pgh.pa.us> <24994.1283532424@sss.pgh.pa.us> <25560.1283534215@sss.pgh.pa.us> <26620.1283537362@sss.pgh.pa.us> Comments: In-reply-to Gerhard Wiesinger message dated "Fri, 03 Sep 2010 20:27:04 +0200" Date: Fri, 03 Sep 2010 14:44:28 -0400 Message-ID: <27253.1283539468@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201009/19 X-Sequence-Number: 40222 Gerhard Wiesinger writes: > On Fri, 3 Sep 2010, Tom Lane wrote: >> I think what may be happening here is that a postgres executable expects >> to find itself in a full installation tree, ie if it's in /someplace/bin >> then the timezone files are in /someplace/share, etc. Did you do a full >> "make install" after building, or did you just copy the postgres >> executable? > I just copied it as discussed in the original mail to avoid that make > install kills the 8.4 production RPM version: > cp ./src/backend/postgres /bin/postgres-8.3.11 Definitely not going to work. Instead, configure with --prefix set to /someplace/harmless, make, make install, execute from /someplace/harmless/bin/. regards, tom lane