Re: 7.3.9 Install Question - init.d/postgresql error?
| От | Tom Lane |
|---|---|
| Тема | Re: 7.3.9 Install Question - init.d/postgresql error? |
| Дата | |
| Msg-id | 2587.1115065502@sss.pgh.pa.us обсуждение |
| Ответ на | Re: 7.3.9 Install Question - init.d/postgresql error? (Dianne Chen <diana_chen23@yahoo.com>) |
| Ответы |
Re: [Pgsqlrpms-hackers] Re: 7.3.9 Install Question -
|
| Список | pgsql-general |
Dianne Chen <diana_chen23@yahoo.com> writes:
> Let's verify the contents of the rpm file:
> mkdir crap
> cp postgresql-server-7.3.9-1PGDG.i686.rpm crap
> cd crap
> cat postgresql-server-7.3.9-1PGDG.i686.rpm | rpm2cpio | cpio -iumd
> And now we have the file of concern right from the rpm file in a
> directory called crap/etc/rc.d/init.d
> The lines of interest in the postgresql file are still:
> ------------ contents of postgresql file ------
> # Version 7.4 Lamar Owen.
> # Version 7.4.3 Tom Lane <tgl@sss.pgh.pa.us>
> # Support condstop for uninstall
> # Minor other changes suggested by Fernando Nasser.
> # Version 7.4.5 Tom Lane <tgl@sss.pgh.pa.us>
> # Rewrite to start postmaster directly, rather than via pg_ctl; this
> avoids
> # fooling the postmaster's stale-lockfile check by having too many
> # postgres-owned processes laying about.
> # PGVERSION is:PGVERSION=7.4
> -----------------------------------------------
Hmm. Apparently Devrim stuck the 7.4 initscript into the 7.3.9 RPMs.
Not good :-(
> So my questions still remain:
> Q1: Is my fix to change PGVERSION to 7.3 from 7.4 correct in light of
> the fact that the db init that occurred from the first server start
> created a 7.3 database?
It will probably work, but I haven't compared the 7.3 and 7.4
initscripts in detail.
regards, tom lane
В списке pgsql-general по дате отправления: