Re: Install Postgre while installing Other software.

From: Iñigo Barandiaran <ibarandiaran(at)vicomtech(dot)org>
To: John R Pierce <pierce(at)hogranch(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Install Postgre while installing Other software.
Date: 2009-02-08 15:46:59
Message-ID: 68038b540902080746g627d9697t6ac2f8ba043f5bf3@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi John.

Thanks for your comment.

You are right. I als think that option *A* is the best, but the problem, as
you mentioned, it is only suitable for knowlegeable, that I might is not
the general case. The "normal" end user only wants to use the software
without knowing anything about data bases etc. I think the only suitable
option is *C*, taking into account that maybe is not the most efficient, in
terms of memmory or disc consumptions.

And thanks for the comment about IO port. You are right. If we installl a
separate paralell distribution, we should change the IO port defined by
default.

Thanks again!!!!!!!!

2009/2/8 John R Pierce <pierce(at)hogranch(dot)com>

> Iñigo Barandiaran wrote:
>
>> Thank you all for your answers!.
>>
>> This solve one of my problems :) THANKS!!!
>>
>> John, thats a very good question. I've already thought about that, but
>> I've no idea how to act yet. Becuase, as you said, if there is already a
>> posgre Database server installed in the target system, and I dont know the
>> password, what can i do? I can not delete the existing user account because
>> I would be affecting other software. What about if I create another service
>> user account, with a different name, such as MyPostgreUserAccount? That way
>> I ensure that I'm creating/deleting the Postgre User of my application. What
>> do you think?
>>
>
> if you install a seperate copy of postgres, in its own directory, with its
> own service account, you'll also need to change its IO port.
>
>
> perhaps a better option would be to notify the user that postgres was
> already installed on the system, and ask the user if
>
> A) they want to use the existing postgres (which would have to be version
> 8.something you require naturally) and if so, what the postgres account
> password is so you can create your databases (note this isn't the service
> account password, this is the password of the postgres database superuser.
>
> or,
> B) if they don't want the current postgres, tell them they can uninstall
> it via add/remove and restart your installler
>
> or,
> C) said seperate parallel installation, with its own dir, port, and
> account.
>
>
> obviously, option A) is only suitable for the knowlegeable user.
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Greg Sabino Mullane 2009-02-08 17:16:37 Re: Pet Peeves?
Previous Message Tom Lane 2009-02-08 15:38:16 Re: encoding of PostgreSQL messages