Re: Remove Postgres from Solaris 10

Поиск
Список
Период
Сортировка
От Thomas Bräutigam
Тема Re: Remove Postgres from Solaris 10
Дата
Msg-id 46F5921DF52F6E40860287B30CADADC785F3EA@EROS.nexus-ag.com
обсуждение исходный текст
Ответ на Re: Remove Postgres from Solaris 10  ("Jignesh K. Shah" <J.K.Shah@Sun.COM>)
Ответы Re: Remove Postgres from Solaris 10  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-admin
Hi Jignesh,

But than I have the problem that I have 2 installations of postgres with default settings on one machine. Is it
possibleto have two installations with default settings on one machine?  

Do they not interrupt each other with ports or something else....?

Cheers Thomas



-----Original Message-----
From: J.K.Shah@Sun.COM [mailto:J.K.Shah@Sun.COM]
Sent: Dienstag, 29. April 2008 04:45
To: Thomas Bräutigam
Cc: Robert.Lor@Sun.COM; pgsql-admin@postgresql.org
Subject: Re: Remove Postgres from Solaris 10

I guess what you mean is to remove the "role" postgres so that you can redefine it as a normal user and not remove the
binariesthat are installed with Postgres as they can be overridden by having right PATH variables 

Its easy... Modify /etc/user_attr and remove type=role from the postgres line and modify /etc/passwd to set a home path
andchange default shell to /bin/sh or /bin/bash and set password for it.. and now you have a normal user.. 
Is this what you are trying to do?

-Jignesh


Thomas Bräutigam wrote:
> Hello all,
>
> I have a software solution with a postgres database. The user postgres
> is abolutly needed for my software.
>
> With Solaris 10, Postgres is automatically installed and uses the user
> postgres. How can I easily remove the current postgres install from
> this Solaris 10? Is there a process which is provided from Solaris to
> remove it? Whats the best way to do it?
>
> Thank you for your help.
>
> Cheers Thomas
> **



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: 8.1.8 autovacuum missing databases
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Remove Postgres from Solaris 10