public inbox for [email protected]  
help / color / mirror / Atom feed
From: Gilles Darold via PostgreSQL Announce <[email protected]>
To: PostgreSQL Announce <[email protected]>
Subject: pg_dumpbinary v2.17 released
Date: Mon, 20 May 2024 13:34:40 +0000
Message-ID: <[email protected]> (raw)

**Grenoble, France - Mai 20, 2024**

## pg_dumpbinary

`pg_dumpbinary` dumps a PostgreSQL database to a binary format. The resulting dump must be restored
using `pg_restorebinary`, which is provided.

This release adds two new options to command pg_restorebinary:

* Add option `-C, --create` to pg_restorebinary to create the database
  before restoring into it. Like with pg_restore you must provide a
  database to connect using the `-d` option.
* Add `--dump-create` to print to stdout the create and alter database
  statements.

`pg_dumpbinary` is useful when:

* You have bytea that can not be exported by `pg_dump` because the
  total size of the escape/hex output exceeds 1Gb.
* You have custom type that stores `\0` internally in bytea but data
  are exported by pg_dump as char/varchar/text.  In this case pg_dump
  truncates all data after the first `\0`, resulting in data loss.
* Other cases where a binary output format is useful.

In these kinds of cases `pg_dumpbinary` helps by dumping the
PostgreSQL database in a binary format. In all other cases
the pg_dump/pg_restore commands distributed with PostgreSQL are
preferred.

See the documentation for a more complete description of available
features.

## Links & Credits

pg_dumpbinary is an Open Source project from [LzLabs GmbH](https://www.lzlabs.com/).  Contributions and ideas are
welcome. Send your ideas, features requests, or patches using GitHub's tools.

Links :

* Documentation: [https://github.com/lzlabs/pg_dumpbinary/blob/master/README.md](https://github.com/lzlabs/pg_dumpbinary/blob/master/README.md)
* Download:  [https://github.com/lzlabs/pg_dumpbinary/releases/](https://github.com/lzlabs/pg_dumpbinary/releases/)
* Support: use GitHub report tool at [https://github.com/lzlabs/pg_dumpbinary/pg_dumpbinary/issues](https://github.com/lzlabs/pg_dumpbinary/pg_dumpbinary/issues)

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pg_dumpbinary v2.17 released
  In-Reply-To: <[email protected]>

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

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