Re: Remove Postgres from Solaris 10

From: Thomas Bräutigam <thomas(dot)braeutigam(at)nexustelecom(dot)com>
To: <J(dot)K(dot)Shah(at)Sun(dot)COM>
Cc: <Robert(dot)Lor(at)Sun(dot)COM>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Remove Postgres from Solaris 10
Date: 2008-04-29 23:47:02
Message-ID: 46F5921DF52F6E40860287B30CADADC785F3EA@EROS.nexus-ag.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 possible to 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(dot)K(dot)Shah(at)Sun(dot)COM [mailto:J(dot)K(dot)Shah(at)Sun(dot)COM]
Sent: Dienstag, 29. April 2008 04:45
To: Thomas Bräutigam
Cc: Robert(dot)Lor(at)Sun(dot)COM; pgsql-admin(at)postgresql(dot)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 binaries that 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 and change 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
> **

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Joshua D. Drake 2008-04-29 23:52:24 Re: Remove Postgres from Solaris 10
Previous Message Andrew Frederico 2008-04-29 22:39:26 pg_dump with "-t" option not dumping OID data?