pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Guillaume Lelarge <guillaume@lelarge.info>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: Josh Berkus <josh@agliodbs.com>
Cc: PostgreSQL Bugs List <pgsql-bugs@postgresql.org>
Subject: Re: Confusing error message with too-large file in pg_basebackup
Date: Fri, 20 Nov 2015 15:00:55 -0500
Message-ID: <26589.1448049655@sss.pgh.pa.us> (raw)
In-Reply-To: <20151120184006.GP614468@alvherre.pgsql>
References: <564E6B2F.0@agliodbs.com>
	<CAB7nPqQjk-KYXfJWYKnySM_k14-5JsU0dEJt+q9ch+X0qbg1SA@mail.gmail.com>
	<11737.1447994494@sss.pgh.pa.us>
	<CAB7nPqSzp1Z3vEzLyT=79xdiCf2mctSj8CpV1bRje+=ghmTQ0w@mail.gmail.com>
	<CAECtzeWnJ3P9nN0US7aWTmBtEX1j+_OYSUMQRaChfgucNfqWQw@mail.gmail.com>
	<20151120123359.GO614468@alvherre.pgsql>
	<CAECtzeW8Go+S5GhGE5Xenk0rF8+0hVpEOceO7Tw6iLcqBqKCAw@mail.gmail.com>
	<20151120184006.GP614468@alvherre.pgsql>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Guillaume Lelarge wrote:
>> Le 20 nov. 2015 1:34 PM, "Alvaro Herrera" <alvherre@2ndquadrant.com> a
>> écrit :
>>> 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?

>> If we do, we should already have done so because of the file size limit in
>> the tar format backup done with pg_dump.

> Agreed, please do.  I cannot lend you my time machine right now, though,
> because I'm using it to go to a past conference I missed, so please ask
> someone else.

Um ... the segment size has no effect on pg_dump.  It is true that you
can't use pg_dump's -Ft format if the text form of a table's data exceeds
8GB or whatever it is, but it matters not whether the table is segmented
internally.  I'm not sure if this limitation is well-documented either,
but it's a completely different issue so far as users are concerned.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (23+ messages)  latest in thread

Message-ID: <26589.1448049655@sss.pgh.pa.us>
Permalink:  ../26589.1448049655@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/26589.1448049655@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, guillaume@lelarge.info, michael.paquier@gmail.com, josh@agliodbs.com
  Subject: Re: Confusing error message with too-large file in pg_basebackup
  In-Reply-To: <26589.1448049655@sss.pgh.pa.us>
  References: <564E6B2F.0@agliodbs.com> <CAB7nPqQjk-KYXfJWYKnySM_k14-5JsU0dEJt+q9ch+X0qbg1SA@mail.gmail.com> <11737.1447994494@sss.pgh.pa.us> <CAB7nPqSzp1Z3vEzLyT=79xdiCf2mctSj8CpV1bRje+=ghmTQ0w@mail.gmail.com> <CAECtzeWnJ3P9nN0US7aWTmBtEX1j+_OYSUMQRaChfgucNfqWQw@mail.gmail.com> <20151120123359.GO614468@alvherre.pgsql> <CAECtzeW8Go+S5GhGE5Xenk0rF8+0hVpEOceO7Tw6iLcqBqKCAw@mail.gmail.com> <20151120184006.GP614468@alvherre.pgsql> <26589.1448049655@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox