Re: libpq compression - Mailing list pgsql-hackers

From Konstantin Knizhnik
Subject Re: libpq compression
Date
Msg-id 612f227d-cb27-9238-5922-1500f8b2eb96@postgrespro.ru
Whole thread Raw
In response to Re: libpq compression  (Daniil Zakhlystov <usernamedt@yandex-team.ru>)
Responses Re: libpq compression  (Robert Haas <robertmhaas@gmail.com>)
Re: libpq compression  (Daniil Zakhlystov <usernamedt@yandex-team.ru>)
List pgsql-hackers
Based on Andres review I have implemented the following changes in 
libpq_compression:

1. Make it possible to specify list of compression algorithms in 
connection string.
2. Make it possible to specify compression level.
3. Use "_pq_.compression" instead of "compression"  in startup package.
4. Use full names instead of one-character encoding for compression 
algorithm names.

So now it is possible to open connection in this way:

     psql "dbname=postgres compression=zstd:5,zlib"


New version of the patch is attached.

-- 
Konstantin Knizhnik
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company


Attachment

pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Prevent printing "next step instructions" in initdb and pg_upgrade
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] Custom compression methods