Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jZaCQ-0006DD-89 for pgsql-admin@arkaria.postgresql.org; Fri, 15 May 2020 13:16:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jZaCP-0005L6-3I for pgsql-admin@arkaria.postgresql.org; Fri, 15 May 2020 13:16:25 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jZaCO-0005Ip-3F for pgsql-admin@lists.postgresql.org; Fri, 15 May 2020 13:16:24 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jZaCK-00057L-Uk for Pgsql-admin@postgresql.org; Fri, 15 May 2020 13:16:23 +0000 Received: by mail-wr1-x444.google.com with SMTP id l18so3511873wrn.6 for ; Fri, 15 May 2020 06:16:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=niy6ygO1t2fl/Cl09O0zfZA8xEuOpmbh8xp6xQ5IJUk=; b=BQlBda3R/ysRGjug7g8X+jj3PG9OmBHE4BawpFLpuG/myAX8WQZCb0eCuuVsd+xBV2 WbEYLduEDxn/8sjD8MH95s2AC7sRGBFINNYy39RTQ1Bf7cupxLbPt1IYxA5ex6EKFQxH L1u58BEKBmxXYsbPB3vZQFxLcWl7oNjgUPuIq41/XihpfFbmKf06prBq+bzPrrulEqa0 VkSeaeVUPhPmL4kgl0mp2Y/VLC9RZRa1oPjLqW7yxTBzeVRT9BPBvaB4P+vthom6/CBZ bSItlSiH0Z6C/UtEi+qO0l+zipUh0Bu1K8OUfFvWMqd7OBgsOuJfM7Ynauby3j7rlu96 HAWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=niy6ygO1t2fl/Cl09O0zfZA8xEuOpmbh8xp6xQ5IJUk=; b=cGb2NZEYCRWC0ZZrcKrHWkeFVN2W9sAlKS9R9GxukEBMPyZmCQgqrNB43YG4h004KX kE361+CQ8Yl04h7a7i8hcF4Jwcd7oJzJNxgt/lnAGZjYG3zZz2WODmh9zuwi7yromow7 ygk/WMyl4w8Kx7obIowJ6cqUjbwRt3GtY7UM0W36AYx0bzLWGw+7J96N+hM3ZWLRay1J yU/AjpwUu1niGZjyzaxvAeF3yvKF0YwtAKA3YWSs6jYQlYP9g43EoOdPcU5z75+hRg7s Cyqtgxmvrnsi1evH2n2ZKeaeoh+8EwwrkNT8CJk3Ive3kV09YbEN7KyUQvxAqllKFabN WRFA== X-Gm-Message-State: AOAM530pzMiFltLVQ1knze1W8gn9iR1Xa2KzkHkbnSzwLTnBeXN97NeL FIRVlKUZWyVEQHIkRbQm6Fb5Iw== X-Google-Smtp-Source: ABdhPJwKJiiqXTEhqDVueXEQkNjYPF7/2e5im+7VsYaW6FwJg/BGNyxtPdKanuf31ZINTWRtB/hIcw== X-Received: by 2002:a5d:684f:: with SMTP id o15mr4158912wrw.89.1589548578961; Fri, 15 May 2020 06:16:18 -0700 (PDT) Received: from localhost.localdomain (217-149-172-66.nat.highway.telekom.at. [217.149.172.66]) by smtp.gmail.com with ESMTPSA id v124sm3846121wme.45.2020.05.15.06.16.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 May 2020 06:16:18 -0700 (PDT) Message-ID: Subject: Re: Ip address change of Postgres Sql DB From: Laurenz Albe To: Jwiencek3 , "mukeshprasad_hit@yahoo.co.in" Cc: "Pgsql-admin@postgresql.org" Date: Fri, 15 May 2020 15:16:17 +0200 In-Reply-To: References: <14722819.328388.1589547026725@mail.yahoo.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.5 (3.32.5-1.fc30) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Fri, 2020-05-15 at 07:53 -0500, Jwiencek3 wrote: > > On May 15, 2020, at 7:50 AM, MUKESH PRASAD wrote: > > I have postgres DB installed and i need to change ip address of this box. Post a > > new op is assigned to box do we need to make any changes in any database configuration files etc.? > > Please suggest > > You will need to change Postgresql.conf and pg_hba.conf. Both located in the data directory. > > Possible other changes depending on other products installed. These two are the minimum. Why? The only reason to modify "postgresql.conf" would be if you have the network interface rather than "*" or "localhost" in "listen_addresses". "pg_hba.conf" is entirely independent of the server's IP address. Yours, Laurenz Albe