On 2014-06-03 18:23:07 +0200, Magnus Hagander wrote: > On Jun 3, 2014 6:17 PM, "Andres Freund" <and...@2ndquadrant.com> wrote: > > PG's tar.c already uses the ustar format and the referenced extension is > > an extension to ustar as far as I understand it. So at least tarballs > > with files < 8GB would still continue to be readable with all currently > > working implementations. > > Yeah, that is a clear advantage of that method. Didn't read up on pax > format backwards compatibility, does it have some trick to achieve > something similar?
It just introduces a new file type 'x' that's only used when extended features are needed. That file type then contains the extended header. So the normal ustar header is used for small files, and if more is needed an *additional* extended header is added. Check: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/pax.html#tag_20_92_13_01 Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers