Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f9ZCg-0007lz-AK for pgsql-hackers@arkaria.postgresql.org; Fri, 20 Apr 2018 16:48:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f9ZCe-0002I6-Jr for pgsql-hackers@arkaria.postgresql.org; Fri, 20 Apr 2018 16:48:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f9ZAI-0004LX-L4 for pgsql-hackers@lists.postgresql.org; Fri, 20 Apr 2018 16:45:38 +0000 Received: from mail.postgrespro.ru ([93.174.131.138]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f9Z9p-00055j-8M for pgsql-hackers@postgresql.org; Fri, 20 Apr 2018 16:45:37 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.postgrespro.ru (Postfix) with ESMTP id 6047521C2B78; Fri, 20 Apr 2018 19:45:07 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at postgrespro.ru X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=x tagged_above=-99 required=4 WHITELISTED tests=[] autolearn=unavailable Received: from [192.168.27.200] (gw.postgrespro.ru [93.174.131.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mail.postgrespro.ru (Postfix) with ESMTPSA id 0D1BA21C2B77; Fri, 20 Apr 2018 19:45:07 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mail; t=1524242707; bh=huIg8BCAdL3BjQeemGx+1BEhnhUi0afz67WigqtfmLU=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=jyZ5kaPOVhFu14lfcM1dV20z20LHcMHEdbDA9J3mmewkDk9pYbO6ZT/7u7WgH7MJz lrRpYiFMIMVATsvuakavaJf4r5HcpNzwRrYBatW7VnUaZEVB0A6Eo+TTc5tHp196r9 UTrQMYMG4T4gScPQGQUi9LvszkW8zjwOPgWMH6KA= Subject: Re: [HACKERS] Custom compression methods To: Ildus Kurbangaliev , Ildar Musin Cc: Robert Haas , Alexander Korotkov , Tomas Vondra , Alvaro Herrera , =?UTF-8?B?0JXQstCz0LXQvdC40Lkg0KjQuNGI0LrQuNC9?= , Andres Freund , Oleg Bartunov , Craig Ringer , Peter Eisentraut , PostgreSQL Hackers , Chapman Flack References: <20171201194859.le5hvnnrjzhxhm2t@alvherre.pgsql> <20171213151818.75a20259@postgrespro.ru> <20171218115431.2b3e29ba@wp.localdomain> <20180115024930.48583c69@hh> <0633c6e5-5328-5c5b-708b-c4409e3fd131@postgrespro.ru> <20180123160454.131ade09@wp.localdomain> <6fd5dea3-8889-c7bb-9df2-79493b2b6ab0@postgrespro.ru> <20180125172457.5967c022@wp.localdomain> <20180129144452.08f04dc3@wp.localdomain> <20180206134731.4ba75fb8@wp.localdomain> <20180226152556.0c6b000f@wp.localdomain> <20180314163123.583b2998@wp.localdomain> <20180326203825.142eedaa@postgrespro.ru> <20180330195045.12e30754@wp.localdomain> From: Konstantin Knizhnik Message-ID: <69f5255d-8bb0-ac40-fd0b-a8d04e6fded8@postgrespro.ru> Date: Fri, 20 Apr 2018 19:45:06 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20180330195045.12e30754@wp.localdomain> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 30.03.2018 19:50, Ildus Kurbangaliev wrote: > On Mon, 26 Mar 2018 20:38:25 +0300 > Ildus Kurbangaliev wrote: > >> Attached rebased version of the patch. Fixed conflicts in pg_class.h. >> > New rebased version due to conflicts in master. Also fixed few errors > and removed cmdrop method since it couldnt be tested. >  I seems to be useful (and not so difficult) to use custom compression methods also for WAL compression: replace direct calls of pglz_compress in xloginsert.c -- Konstantin Knizhnik Postgres Professional: http://www.postgrespro.com The Russian Postgres Company