Re: Major performance problem after upgrade from 8.3 to 8.4
От | Gerhard Wiesinger |
---|---|
Тема | Re: Major performance problem after upgrade from 8.3 to 8.4 |
Дата | |
Msg-id | alpine.LFD.2.01.1009032014270.11936@bbs.intern обсуждение исходный текст |
Ответ на | Re: Major performance problem after upgrade from 8.3 to 8.4 (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Major performance problem after upgrade from 8.3 to 8.4
|
Список | pgsql-performance |
On Fri, 3 Sep 2010, Tom Lane wrote: > Gerhard Wiesinger <lists@wiesinger.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 -- http://www.wiesinger.com/
В списке pgsql-performance по дате отправления: