Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ee3Gn-0008GH-QM for pgsql-general@arkaria.postgresql.org; Tue, 23 Jan 2018 18:26:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ee3Gn-0008HM-BE for pgsql-general@arkaria.postgresql.org; Tue, 23 Jan 2018 18:26:05 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ee3Gm-0008HD-Ue for pgsql-general@lists.postgresql.org; Tue, 23 Jan 2018 18:26:05 +0000 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ee3Gk-0003X5-Ck for pgsql-general@lists.postgresql.org; Tue, 23 Jan 2018 18:26:03 +0000 Received: by mail-wm0-x22c.google.com with SMTP id t74so3705447wme.3 for ; Tue, 23 Jan 2018 10:26:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to; bh=4xNqxQXPn5x/bT10+BueXxd1jT1S0E2gdPT/4DsmYlY=; b=t4PGQ8BL/Cq9kaQ5Pbfqr1mVBwfmvrF5eg2RPSK7tlN69zW8jw3O7DO3TAbnQRBH6C +a0xiAzA/FhCZ4wYMyTcZ1Ikbhivd9fmgKvzAAdapKFG8vS2PcAgxAYvk0+2Km8u6J9O DOvVsa2Hu//s1l9nqr0eJ9drmctNFt2NrwSBikCv9DKkzT0t3txh7jChGkOYx2xxML4d RVYpUXl/RpqGlMSaDb3P6UOh5ziNNCL8F0ftCuItL04ulLrb7u8PDrkWxx7PcImHHqY4 Dfwq7t46Mzgu29N9hvgiyp/EfPvGl0b/I02uE7CIBYQNC79YNo7AToYfP7TQTrGMfDlG w+2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to; bh=4xNqxQXPn5x/bT10+BueXxd1jT1S0E2gdPT/4DsmYlY=; b=uJUaovIIm9Bd6Uh2OP5NRP8nT3JMp9HzXKMUi7OS6IlenO/kLQha614mDkXFpcTCVW T/XcGNgI8Bh+dU6AUxYcVlW37cJ+3gdv6NgacG5jEZptGBGITKWJWtuLqHHJXIBfyMLh gqiUcx2YI8c6jP+qvHGtotOxgPGNSwPAYiWoCz1+INcJxSDD/zkX6gRQSZU48gOUBREU Kk5wWYot7xpTdx8bnXilFYiujJJ2Lqh85UICYGe3RIQJq/m+JLuIb1QFMLF88pHYjBjG wgKXb97HRnIe/JaP7eixoCGvcEP1NmWO79S11gxIgrbHDCsi5fHE+EDOt0VhsfZ9AFiI 4zGA== X-Gm-Message-State: AKwxytdDZ5lfXHk51jXSWG73meocFVPdW7BbVvWXjsyuPDI2swLU8ra0 bnfL1a2XX6PiIq0MWAt0XqyqsS0= X-Google-Smtp-Source: AH8x2257wkCX9yhoHpf/gQgfwFXVDbXhcLS4oAvbAMXDSJNsqWFSUPliPEASRs1Ik7/ql4XfK0lAHw== X-Received: by 10.28.154.67 with SMTP id c64mr2843047wme.125.1516731959175; Tue, 23 Jan 2018 10:25:59 -0800 (PST) Received: from Martins-MacBook-Pro.local (host109-151-129-31.range109-151.btcentralplus.com. [109.151.129.31]) by smtp.googlemail.com with ESMTPSA id z71sm1215703wrc.11.2018.01.23.10.25.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Jan 2018 10:25:58 -0800 (PST) Subject: Re: FW: Setting up streaming replication problems To: Pavan Teja References: <6b6085fb-b0be-798e-6be4-8ec4f9e099bf@gelassene-pferde.biz> <76882e62-c9c2-0081-9e5a-816ec18af359@a-kretschmer.de> <18774e2eb362444b8e65966423e8707a@usb.ch> <20180123083607.20137iwa16pu6y8s@www.gelassene-pferde.biz> <5A677939.5050500@googlemail.com> Cc: pgsql-general@lists.postgresql.org From: Martin Goodson Message-ID: <5A677E35.6060501@googlemail.com> Date: Tue, 23 Jan 2018 18:25:57 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------030107060107070602040109" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------030107060107070602040109 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 23/01/2018 18:08, Pavan Teja wrote: > > > On Jan 23, 2018 11:34 PM, "Martin Goodson" > wrote: > > > > On 23/01/2018 07:36, Thiemo Kellner, NHC Barhufpflege wrote: > > 1) I am not sure whether to put the md5 value of the repuser > password > > into primary conninfo or the plain one. I don't feel > the documentation > or the book is clear on that. > > > Anyone two dimes on that? > > Password, not an md5. Or, at least, that's what's been working for > me :) > > Even better, I guess, would be to not put a password in there at > all and use a .pgpass. > > -- > Martin Goodson > > "Have you thought up some clever plan, Doctor?" > "Yes, Jamie, I believe I have." > "What're you going to do?" > "Bung a rock at it." > > > Hello, > > Instead you can keep trust connection for that user from only that ip > instead specifying in .Pgpass file. > > Absolutely you can do that, yup. But I'm super paranoid, and don't trust anyone enough to use 'trust' :) M. -- Martin Goodson "Have you thought up some clever plan, Doctor?" "Yes, Jamie, I believe I have." "What're you going to do?" "Bung a rock at it." --------------030107060107070602040109 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit On 23/01/2018 18:08, Pavan Teja wrote:


On Jan 23, 2018 11:34 PM, "Martin Goodson" <kaemaril@googlemail.com> wrote:


On 23/01/2018 07:36, Thiemo Kellner, NHC Barhufpflege wrote:
1) I am not sure whether to put the md5 value of the repuser password
into primary conninfo or the plain one. I don't feel the documentation
or the book is clear on that.

Anyone two dimes on that?
Password, not an md5. Or, at least, that's what's been working for me :)

Even better, I guess, would be to not put a password in there at all and use a .pgpass.

--
Martin Goodson

"Have you thought up some clever plan, Doctor?"
"Yes, Jamie, I believe I have."
"What're you going to do?"
"Bung a rock at it."


Hello,
Instead you can keep trust connection for that user from only that ip instead specifying in  .Pgpass file. 


Absolutely you can do that, yup. But I'm super paranoid, and don't trust anyone enough to use 'trust' :)

M.
-- 
Martin Goodson

"Have you thought up some clever plan, Doctor?"
"Yes, Jamie, I believe I have."
"What're you going to do?"
"Bung a rock at it." 
--------------030107060107070602040109--