Re: Documentation clarification request: pg_dumpall and Large Objects

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: "Radoulov, Dimitre" <cichomitiko(at)gmail(dot)com>
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Documentation clarification request: pg_dumpall and Large Objects
Date: 2026-02-27 22:23:35
Message-ID: ae61f593b83ef62e5737c205a04498ea281b8a02.camel@cybertec.at
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Thu, 2025-12-04 at 19:11 +0100, Laurenz Albe wrote:
> On Thu, 2025-12-04 at 18:12 +0100, Radoulov, Dimitre wrote:
> > Il Gio 4 Dic 2025, 16:50 Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> ha scritto:
> > > On Thu, 2025-12-04 at 13:12 +0100, Radoulov, Dimitre wrote:
> > > > I would like to request a clarification in the pg_dumpall
> > > > documentation regarding Large Objects (LOBs). The current
> > > > documentation does not explicitly state whether pg_dumpall includes
> > > > Large Objects in its output.
> > >
> > > I admit that you have to go by circumstantial evidence here.  But rather
> > > than explicitly naming large objects, perhaps it would be useful to add something
> > > like
> > >
> > >   pg_dumpall is primarily intended as a tool to upgrade database clusters.
> > >   As such, it by default exports all data of the entire cluster.
> > >   The only part of the state of a database cluster that is *not* included
> > >   in the output of pg_dumpall are the configuration files and database parameters
> > >   changed with ALTER SYSTEM.
>
> Attached is a patch for such a change.

Commit 763aaa06f0 has changed the situation: with the addition of other formats
than the plain format, it no longer makes sense to say that pg_dumpall
is not useful for backup. Still, we should clarify what is *not* included.

The attached patch does that and in passing improves the readability.

Yours,
Laurenz Albe

Attachment Content-Type Size
v2-0001-pg_dumpall-doc-add-more-clarity.patch text/x-patch 2.3 KB

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message yuanchao zhang 2026-02-28 01:02:47 Re: A suggestion about the usage manual of \d command
Previous Message David G. Johnston 2026-02-27 14:12:39 Re: A suggestion about the usage manual of \d command