Received: from localhost (unknown [200.46.204.184]) by developer.postgresql.org (Postfix) with ESMTP id 3ADBE2E0042 for ; Wed, 30 Apr 2008 00:57:40 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 24008-04 for ; Wed, 30 Apr 2008 00:57:35 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from brmea-mail-2.sun.com (brmea-mail-2.Sun.COM [192.18.98.43]) by developer.postgresql.org (Postfix) with ESMTP id 0AB8A2E0033 for ; Wed, 30 Apr 2008 00:57:34 -0300 (ADT) Received: from fe-amer-09.sun.com ([192.18.109.79]) by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m3U3vXW9001886 for ; Wed, 30 Apr 2008 03:57:33 GMT Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0K0400401DLVG800@mail-amer.sun.com> (original mail from J.K.Shah@Sun.COM) for pgsql-admin@postgresql.org; Tue, 29 Apr 2008 21:57:33 -0600 (MDT) Received: from Macintosh-4.local ([76.19.46.33]) by mail-amer.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0K04002QHDNWVE50@mail-amer.sun.com>; Tue, 29 Apr 2008 21:57:33 -0600 (MDT) Date: Tue, 29 Apr 2008 23:57:34 -0400 From: "Jignesh K. Shah" Subject: Re: Remove Postgres from Solaris 10 In-reply-to: <46F5921DF52F6E40860287B30CADADC785F3F4@EROS.nexus-ag.com> To: =?ISO-8859-1?Q?Thomas_Br=E4utigam?= Cc: "Joshua D. Drake" , Robert.Lor@Sun.COM, pgsql-admin@postgresql.org Message-id: <4817EE2E.2060705@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 8BIT References: <46F5921DF52F6E40860287B30CADADC78172B9@EROS.nexus-ag.com> <48168B9A.8060704@sun.com> <46F5921DF52F6E40860287B30CADADC785F3EA@EROS.nexus-ag.com> <20080429165224.6d95756a@jd-laptop> <46F5921DF52F6E40860287B30CADADC785F3EE@EROS.nexus-ag.com> <20080429173304.3332f298@jd-laptop> <46F5921DF52F6E40860287B30CADADC785F3F4@EROS.nexus-ag.com> User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200804/303 X-Sequence-Number: 29067 Here are my two cents: You dont want to remove packages installed with Solaris by default.. However you may use your own Postgres packages or binaries in different location and not enable Postgres by default. (PostgreSQL is an integral part of Solaris 10 ) Don't forget some of Solaris's own tools like SunMC now uses the bundled postgres in the operating system and hence depends on its existence and tested against it. http://www.sun.com/bigadmin/sundocs/articles/sunmcnew.jsp Removing PostgreSQL packages installed by default is not supported since upgrades to the Operating system will depend on those file installations to exist out in the preset locations. However that does not mean you cannot have your own binaries and use them at the default port. The default database is not enabled by default which means there is no collision of port numbers unless you want both database clusters to be enabled. If thats the case than changing Port numbers in either your database cluster or the default db instance (if init'ed by using svcadm start postgres_82:default for the first time) in /var/postgres/8.2/data/postgresql.conf should be fairly easy. Other option is to use "OpenSolaris" CD images which does not have PostgreSQL installed by default as part of the "CD image" install as of now. http://opensolaris.org/os/project/indiana/resources/getit/ -Jignesh Thomas Bräutigam wrote: > Hi Joshua, > > I think I have to explain it a little more detailed > > - my product uses a postgres database with the standart config (ports etc.) > - with Solaris 10 postgres is already installed as standart > - I need to replace this Solaris 10 postgres installation with my standart postgres database of my product > > That is the reason I need to remove the standart postgres installation from Solaris 10 that I can use my own postgres database. > > My concern is how I can remove this standart Solaris 10 postgres database as quick and efficient as possible that I can put in my postgres database? > > Cheers Thomas > > > > -----Original Message----- > From: Joshua D. Drake [mailto:jd@commandprompt.com] > Sent: Mittwoch, 30. April 2008 02:33 > To: Thomas Bräutigam > Cc: J.K.Shah@Sun.COM; Robert.Lor@Sun.COM; pgsql-admin@postgresql.org > Subject: Re: [ADMIN] Remove Postgres from Solaris 10 > > On Wed, 30 Apr 2008 01:59:08 +0200 > Thomas Bräutigam wrote: > > >> Hi Joshua >> >> The problem is this that I need this ports for my default postgres >> database. >> >> Is it than possible to have 2 default postgres databases in parallel? >> Same ports etc.....? >> > > I am afraid I don't understand what you are asking. You can't have two postgresql installations bound to the same port. You can have two postgresql installations pointing to different ports on the same machine. > > Joshua D. Drake > > > -- > The PostgreSQL Company since 1997: http://www.commandprompt.com/ PostgreSQL Community Conference: http://www.postgresqlconference.org/ > United States PostgreSQL Association: http://www.postgresql.us/ Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate > > > > >