pg_dump large file support

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: pgsql-hackers(at)postgresql(dot)org
Subject: pg_dump large file support
Date: 2002-08-15 10:41:20
Message-ID: 1029408081.28779.73.camel@linda
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I've implemented large file support for pg_dump, in what I hope is a
portable fashion. Please review the attached patch.

This needs an additional option from autoconf, because pg_dump prints a
hex offset which needs to be either %Lx or %llx, but there is no hex
equivalent to INT64_FORMAT. To get this working I have arbitrarily
defined OFF_T_FORMATX as "%lld", but that needs to be changed before the
patch is incorporated.

Peter E suggested that there was no need for the macro definitions in
pg_backup.h but I wasn't clear how else to achieve what was needed.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight, UK
http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"Praying always with all prayer and supplication in the
Spirit, and watching thereunto with all perseverance
and supplication for all saints." Ephesians 6:18

Attachment Content-Type Size
pg_dump.patch text/x-patch 8.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Oliver Elphick 2002-08-15 11:47:33 Re: pg_dump large file support
Previous Message Emmanuel Charpentier 2002-08-15 10:04:24 Re: Open 7.3 issues