Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group