From: | Gerhard Wiesinger <lists(at)wiesinger(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Andreas Kretschmer <akretschmer(at)spamfence(dot)net>, pgsql-performance(at)postgresql(dot)org |
Subject: | Re: Major performance problem after upgrade from 8.3 to 8.4 |
Date: | 2010-09-03 18:27:04 |
Message-ID: | alpine.LFD.2.01.1009032014270.11936@bbs.intern |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
On Fri, 3 Sep 2010, Tom Lane wrote:
> Gerhard Wiesinger <lists(at)wiesinger(dot)com> 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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2010-09-03 18:44:28 | Re: Major performance problem after upgrade from 8.3 to 8.4 |
Previous Message | Tom Lane | 2010-09-03 18:09:22 | Re: Major performance problem after upgrade from 8.3 to 8.4 |