Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 3136C632ACE for ; Fri, 3 Sep 2010 15:27:52 -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 68958-04 for ; Fri, 3 Sep 2010 18:27:44 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from fep18.mx.upcmail.net (fep18.mx.upcmail.net [62.179.121.38]) by mail.postgresql.org (Postfix) with ESMTP id 1AF8B632A48 for ; Fri, 3 Sep 2010 15:27:43 -0300 (ADT) Received: from edge02.upcmail.net ([192.168.13.237]) by viefep18-int.chello.at (InterMail vM.8.01.02.02 201-2260-120-106-20100312) with ESMTP id <20100903182741.TUEB4042.viefep18-int.chello.at@edge02.upcmail.net>; Fri, 3 Sep 2010 20:27:41 +0200 Received: from wiesinger.com ([84.112.167.138]) by edge02.upcmail.net with edge id 2JTf1f04A2zVakc02JTgts; Fri, 03 Sep 2010 20:27:40 +0200 X-SourceIP: 84.112.167.138 Received: from bbs.intern (localhost [127.0.0.1]) by wiesinger.com (8.14.4/8.14.4) with ESMTP id o83IR4Sb014195; Fri, 3 Sep 2010 20:27:04 +0200 Received: from localhost (gerhard@localhost) by bbs.intern (8.14.4/8.14.4/Submit) with ESMTP id o83IR4xq014191; Fri, 3 Sep 2010 20:27:04 +0200 Date: Fri, 3 Sep 2010 20:27:04 +0200 (CEST) From: Gerhard Wiesinger To: Tom Lane 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: <26620.1283537362@sss.pgh.pa.us> Message-ID: 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> User-Agent: Alpine 2.01 (LFD 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-MailScanner-Information-wiesinger-com: Please contact the ISP for more information X-wiesinger-com-MailScanner-ID: o83IR4Sb014195 X-MailScanner-wiesinger-com: Found to be clean X-MailScanner-SpamCheck-wiesinger-com: not spam, SpamAssassin (not cached, score=-4.399, required 4.5, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-MailScanner-From: lists@wiesinger.com X-Cloudmark-Analysis: v=1.1 cv=kR1739jI04gsLPPBAx/k25XPeS1fzQof9TaPDYrpM2k= c=1 sm=0 a=-BBt41PQAQkA:10 a=ORa4HqFjfvEA:10 a=kj9zAlcOel0A:10 a=-ProOGmuAAAA:8 a=O4bBtw5MHqiyCBSoLnEA:9 a=IEjgWfP27s_9iwQcXd0A:7 a=rroy-k4rpE7DmYF54mbbpMyiC-kA:4 a=CjuIK1q_8ugA:10 a=fU-A4pz3-wIA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201009/18 X-Sequence-Number: 40221 On Fri, 3 Sep 2010, Tom Lane wrote: > Gerhard Wiesinger writes: >> On Fri, 3 Sep 2010, Tom Lane wrote: >>> Doh. I hadn't looked closely at that. Probably you want >>> /usr/share/zoneinfo --- at least that's what the Red Hat RPMs use. > >> I tried even before I wrote to the mailinglist without success: >> ./configure > > I'd definitely suggest leaving out the --with-system-tzdata option > altogether if you're not certain it works. OK. > >> With last one I also get: >> 2010-09-03 19:51:29.079 CEST [27916] @/: FATAL: invalid value for parameter "timezone_abbreviations": "Default" > > This is a different problem; the --with-system-tzdata option wouldn't > affect that. > > 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 cd /bin ln -s /usr/share/pgsql/timezonesets share cd tarballdir ./configure make cp ./src/backend/postgres /bin/postgres-8.3.11 2010-09-03 18:24:53.936 GMT [11753] @/: LOG: could not open directory "/share/timezone": No such file or directory 2010-09-03 18:24:53.936 GMT [11753] @/: LOG: could not open directory "/share/timezone": No such file or directory 2010-09-03 18:24:53.936 GMT [11753] @/: LOG: could not open directory "/share/timezone": No such file or directory 2010-09-03 18:24:53.936 GMT [11753] @/: LOG: could not open directory "/share/timezone": No such file or directory 2010-09-03 18:24:53.936 GMT [11753] @/: LOG: could not open directory "/share/timezone": No such file or directory 2010-09-03 20:24:53.936 CEST [11753] @/: FATAL: invalid value for parameter "timezone_abbreviations": "Default" I previously made the strace and therefore I added the option to configure to get the right directory. Any further idea where I should copy the binary or any option or any file copy for the time zone files? Thnx. Ciao, Gerhard -- http://www.wiesinger.com/