pg_dumpbinary v2.15 released

Поиск
Список
Период
Сортировка
Искать

pg_dumpbinary v2.15 released

От:
HexaCluster via PostgreSQL Announce <announce-noreply@postgresql.org>
Дата:
 

pg_dumpbinary v2.15 released

Zurich, Switzerland - Febuary 14th, 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.

Version 2.15 has been published, this release adds a new option and fixes a bug reported by users since last release.

  • Add -w, --where command line option to pg_dumpbinary to apply a filter to the data dumped. The filter will be used in a WHERE clause for data export, this clause will be applied to all tables dumped.
  • Fix error "DBD::Pg::db do failed: server closed the connection unexpectedly" when the attempt to dump the pre-data section fail.

A full list of changes and acknowledgments can be found here

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. Contributions and ideas are welcome. Send your ideas, features requests, or patches using GitHub's tools.

Links :

This email was sent to you from HexaCluster. It was delivered on their behalf by the PostgreSQL project. Any questions about the content of the message should be sent to HexaCluster.

You were sent this email as a subscriber of the pgsql-announce mailinglist, for the content tag Related Open Source. To unsubscribe from further emails, or change which emails you want to receive, please click the personal unsubscribe link that you can find in the headers of this email, or visit https://lists.postgresql.org/unsubscribe/.
 
FAQ