Re: constants for tar header offsets

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2023-04-18T16:24:11Z
Lists: pgsql-hackers

Attachments

On Tue, Apr 18, 2023 at 12:06 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Hmm, you're right: I checked the POSIX.1-2018 spec as well, and
> it agrees that the prefix field is 155 bytes long.  Perhaps just
> add another comment line indicating that 12 bytes remain unassigned?

OK. Here's v2, with that change and a few others.

-- 
Robert Haas
EDB: http://www.enterprisedb.com

Commits

  1. Add and use symbolic constants for tar header offsets and file types.