Releases: TantorLabs/pg_anon
Releases · TantorLabs/pg_anon
1.6.0
- added a postgres version definition to use suitable pg_dump versions
- run option
--config
for configuration file with paths to specific versions of pg_dump/pg_restore utils - for
skip_rules
andinclude_rules
searching byschema_mask
andtable_mask
- improved compatibility with postgres to version 9.6
- fixed communication with pg_dump and pg_restore
- search in
data_regex.rules
for searching in text including\n
- search in
data_const.partial_constants
now case-insensitive - optimization for reading data from database
- moved all modules with pg_anon modes into package
modes
- modes
init
andcreate-dict
packed into classes - class
MainRoutine
decomposed on small methods - class
PgAnonResult
now using only inMainRoutine
and includes methods for updating statuses - actualized pyproject.toml
- actualized tests and README.md. Function
anon_funcs.random_inn()
in tests replaced cause this function can't guarantee values unique
1.5.0
- Added multiprocessing in
dump
andrestore
modes - Improved dictionary handling, now it's possible to specify multiple dictionaries in
dump
mode - In
scan
mode, it is now possible to use multiple meta-dictionaries - Added support for non-sensitive dictionaries, which speeds up subsequent "scanning" of the source DB
- Exteaded capabilities of meta-dictionaries
- Added support for a debugging cycle
- Improved handling of database connections
- Fixed a couple of bugs
- Refactored modules to enhance debugging convenience
- CLI parameters refactored
1.0.1
1.0.0
0.2.0
What's Changed
- feat: Change dump and restore mechanism to use
asyncpg.Connection.copy_from_table()
andasyncpg.Connection.copy_to_table()
.- Change dump format to
*.bin.gz
. - Added PostgreSQL types to dump
- Change dump format to
The binary format option causes all data to be stored/read as binary format rather than as text. It is somewhat faster than the text and CSV formats, but a binary-format file is less portable across machine architectures and PostgreSQL versions. Also, the binary format is very data type specific; for example it will not work to output binary data from a smallint column and read it into an integer column, even though that would work fine in text format.
Full Changelog: 0.1.1...0.2.0