Re: 7.3.9 Install Question - init.d/postgresql error?

Поиск
Список
Период
Сортировка
От Dianne Chen
Тема Re: 7.3.9 Install Question - init.d/postgresql error?
Дата
Msg-id loom.20050502T210012-824@post.gmane.org
обсуждение исходный текст
Ответ на 7.3.9 Install Question - init.d/postgresql error?  (Dianne Chen <diana_chen23@yahoo.com>)
Ответы Re: 7.3.9 Install Question - init.d/postgresql error?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hi Tom-

Ok. I have checked.

The /etc/rc.d/init.d directory was populated with the postgresql file
after the postgresql-server-7.3.9-1PGDG.i686.rpm file was installed.
Yes, I kept track of the differences as each rpm was installed. :)
All rpm files were obtained from postgresql of course.

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
-----------------------------------------------

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?

Q2: Did someone mistakenly put a 7.4 file in the 7.3 rpm? Does it not
matter? Outside of not being able to restart?

I do not think this is a case of installation conflicts... right? The
file has the problem right out of the rpm.

Thanks as always for the help.

DC



В списке pgsql-general по дате отправления:

Предыдущее
От: Jonel Rienton
Дата:
Сообщение: PostgreSQL 8.0.2 and Tiger
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 7.3.9 Install Question - init.d/postgresql error?