Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 3F6BC2E0077 for ; Wed, 30 Jan 2008 02:59:56 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 31242-06 for ; Wed, 30 Jan 2008 02:59:47 -0400 (AST) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179]) by postgresql.org (Postfix) with ESMTP id B066D2E0082 for ; Wed, 30 Jan 2008 02:59:47 -0400 (AST) Received: by wa-out-1112.google.com with SMTP id m38so243238waf.5 for ; Tue, 29 Jan 2008 22:59:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=7ZzvEhFpIDip5TqVwr3I1Pp6IujLLG9b29foSEL2wX8=; b=XdCe7VT2BUAhRhIcah+YZ0Crm4UmMNUTN7OwPROuBspNJ1d4Cy8MqyfXwdvWpfePOYea6M78wlGEirl+UxqagcNgSyLuMyi/JDzjv/B8G5qCf3sjgHer7gxVQLw1SMdUAlGSH1fBy+LZoXCvWyE58xSUzzRR69boCTo41INEhDU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=xM7bbjHahSMr0TudHYm5CebNTRDJxK35a5WpVTEXlr6zsaQEHnv2NuXBer+4hXkScV6Irqmox3vtlEly4cET5KrLLxAVFFzspoKs01jqj04oefCsW8wb+S6V0vV2eSd0ycm9TJaq9gKM7mjTkS3iH9g+9D8NHogH/Jrl36Ev+Do= Received: by 10.115.60.1 with SMTP id n1mr483555wak.37.1201676386761; Tue, 29 Jan 2008 22:59:46 -0800 (PST) Received: from ?10.1.1.19? ( [203.217.18.65]) by mx.google.com with ESMTPS id t1sm13374706poh.0.2008.01.29.22.59.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 29 Jan 2008 22:59:46 -0800 (PST) Message-ID: <47A01FAA.9060306@gmail.com> Date: Wed, 30 Jan 2008 17:56:42 +1100 From: Chris User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Suresh Gupta VG CC: pgsql-general@postgresql.org, pgsql-admin@postgresql.org Subject: Re: [GENERAL] Can we have 2 databases on same server References: <3D5445983859B84B92669C0D883EA6FB0C0A57B5@ZENMAILHQ1.ind.zensar.com> In-Reply-To: <3D5445983859B84B92669C0D883EA6FB0C0A57B5@ZENMAILHQ1.ind.zensar.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/282 X-Sequence-Number: 28056 > 1) Can I please know, if we can run 2 databases on the same server > with out any conflicts? You can as long as they are installed in separate locations. That is: db1: /usr/local/pgsql/7.4 db2: /usr/local/pgsql/8.1 The main reason is so your app doesn't pick up the wrong binary and use that and cause all sorts of weird and wonderful errors :) > 2) If it is so, at what stage we are need to configure the 2 > databases? Pls provide links or docs if available. http://www.postgresql.org/docs/8.2/static/install-procedure.html (look at the --prefix stuff). http://www.postgresql.org/docs/8.2/static/creating-cluster.html and http://www.postgresql.org/docs/8.2/static/install-upgrading.html for how to copy your data into the new system. They will also need to run on different ports. Edit the postgresql.conf file on the new install and change the port=5432 line to another (unused) number. -- Postgresql & php tutorials http://www.designmagick.com/