Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zzkty-0001sx-P5 for pgsql-bugs@arkaria.postgresql.org; Fri, 20 Nov 2015 12:34:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zzkty-000887-6U for pgsql-bugs@arkaria.postgresql.org; Fri, 20 Nov 2015 12:34:54 +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) (envelope-from ) id 1ZzktM-0007Qf-0z for pgsql-bugs@postgresql.org; Fri, 20 Nov 2015 12:34:16 +0000 Received: from out.smtp-auth.no-ip.com ([8.23.224.60]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZzktE-0003F3-8m for pgsql-bugs@postgresql.org; Fri, 20 Nov 2015 12:34:14 +0000 X-No-IP: alvh.no-ip.org@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from alvin.alvh.no-ip.org (unknown [200.132.66.10]) (Authenticated sender: alvh.no-ip.org@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id BB082400BED; Fri, 20 Nov 2015 04:34:02 -0800 (PST) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id EC25FD0F; Fri, 20 Nov 2015 09:33:59 -0300 (CLT) Date: Fri, 20 Nov 2015 10:33:59 -0200 From: Alvaro Herrera To: Guillaume Lelarge Cc: Michael Paquier , PostgreSQL Bugs List , Josh Berkus , Tom Lane Subject: Re: Confusing error message with too-large file in pg_basebackup Message-ID: <20151120123359.GO614468@alvherre.pgsql> References: <564E6B2F.0@agliodbs.com> <11737.1447994494@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Guillaume Lelarge wrote: > Looking at the file's size is probably a better idea. As far as I know, > PostgreSQL doesn't create files bigger than 1GB, except for log files. I'm > not sure about this but I guess pg_basebackup doesn't ship log files. So, > looking at the size would work. Hmm, so we let configure --with-segsize to change the file size. The configure help says that the limit should be "less than your OS' limit on file size". We don't warn them that this could cause backup problems later on. Should we add a blurb about that somewhere? -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs