Releases: exyi/pg2parquet
Releases · exyi/pg2parquet
0.2.2
CLI completions and manpage
When compiled with the manpage_gen feature, new subcommand manpage-gen is added. It can be used to generate ROFF-formated manpages and shell completions.
The documentation zip file can be downloaded from Github Actions artifacts.
Alternatively, a script building the project from source and packaging the man pages and completions could look like:
build() {
cd "pg2parquet/cli"
cargo build --frozen --release --features manpage_gen
mkdir manpage
mkdir completions
target/release/pg2parquet manpage-gen --out-manpage manpage --out-completion completions
}
package() {
cd "$srcdir/pg2parquet"
install -Dm0755 -t "$pkgdir/usr/bin/" "cli/target/release/pg2parquet"
install -Dm0755 -t "$pkgdir/usr/share/man/man1/" cli/manpage/*
install -Dm0644 cli/completions/complete.bash "$pkgdir/usr/share/bash-completion/completions/pg2parquet"
install -Dm0644 cli/completions/complete.fish "$pkgdir/usr/share/fish/completions/pg2parquet.fish"
install -Dm0644 cli/completions/complete.zsh "$pkgdir/usr/share/zsh/site-functions/_pg2parquet"
install -Dm0644 cli/completions/complete.nu "$pkgdir/usr/share/nushell/vendor/autoload/pg2parquet.nu"
install -Dm0644 cli/completions/complete.elv "$pkgdir/usr/share/elvish/lib/pg2parquet.elv"
}
0.2.1
Add support for TLS client certificate authentication:
--ssl-client-cert <SSL_CLIENT_CERT>
File with a TLS client certificate in PEM format. Note that you also need to use the ssl-client-key option
--ssl-client-key <SSL_CLIENT_KEY>
File with a TLS client key in PEM format
0.2.0
Add support for types provided by the pgvector extension:
vectoris serialized as float32 List (with non-null elements)halfvectoris also serialized either as float32 List, or the new Parquet float16 if enabled with an optionsparsevecis serialized as uint32 -> float32 Map (maybe we should add an option to make it a dense vector?)bitis already supported (they just add indexes to a built-in postgres type)
Parsing connection string or connection URLs
The connection string or URL can be specified using the --connection/-c option or the DATABASE_URL env variable. See the postgres library documentation for the list of supported keys: https://docs.rs/postgres/latest/postgres/config/struct.Config.html#keys
0.1 Beta 1
First release, see README.md for usage