Enhancement #2049

postgresql install process

Added by Alex Norton about 1 year ago. Updated 9 months ago.

Status:Closed Start date:05/24/2012
Priority:High Due date:
Assignee:larry shi % Done:

0%

Category:Build/install/config
Target version:2.1.0 Estimated time:8.00 hours
Rank:2 Tester:

Description

The install process for postgresql currently always attempts to install the version listed in fo-installdeps. Since with newer OS releases we are seeing postgresql 9.1 and installing 9.1 would not be the correct response if 8.4 is already installed. So we should change fo-installdeps to only install a new version of postgresql if there is not a database already installed.

History

Updated by Paul Holland 12 months ago

  • Assignee changed from Alex Norton to larry shi
  • IterNum set to 2

Updated by larry shi 12 months ago

  • Status changed from New to In Progress

Updated by larry shi 12 months ago

  • Estimated time set to 8.00

Updated by larry shi 12 months ago

why we specify version number of postgresql is becuase the history reason, I do not remember the detailed reason.
One proposal:
when installing postgresql, do not specify version number of postgresql on any linux distro.

make sense?

I will try it.

Updated by larry shi 12 months ago

  • Status changed from In Progress to Feedback

Updated by larry shi 12 months ago

  • Assignee changed from larry shi to Alex Norton

Alex Norton wrote:

The install process for postgresql currently always attempts to install the version listed in fo-installdeps. Since with newer OS releases we are seeing postgresql 9.1 and installing 9.1 would not be the correct response if 8.4 is already installed. So we should change fo-installdeps to only install a new version of postgresql if there is not a database already installed.

per the discussion on the meeting, I will still specify the version number.
why do you think installing 9.1 would not be the correct response if 8.4 is already installed?
I install on ubuntu 12.04/64bit from source(trunk), did not do any code change, I can install/upload successfully.
then I apt-get install postgres -y, can install postgresql 9.1 successively.
dpkg --get-selections|grep postgre
postgresql install
postgresql-8.4 install
postgresql-9.1 install
postgresql-client-8.4 install
postgresql-client-9.1 install
postgresql-client-common install
postgresql-common install
postgresql-server-dev-8.4 install

perhaps, we do not need change anything in utils/fo-installdeps

Updated by Alex Norton 12 months ago

  • Status changed from Feedback to In Progress
  • Assignee changed from Alex Norton to larry shi

Clarified this with larry OC.

Handing the bug back to him.

Updated by larry shi 12 months ago

  • Status changed from In Progress to Resolved

fixed in svn 5941.

for precise|oneiric, install 9.1.

Updated by Paul Holland 11 months ago

  • Rank set to 1

Updated by Paul Holland 11 months ago

  • Rank changed from 1 to 2

Updated by Alex Norton 11 months ago

  • Status changed from Resolved to Closed

implemented and verfied

Updated by Mary Laser 9 months ago

  • Target version changed from 2.0.1 to 2.1.0

Also available in: Atom PDF