Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVh4z-0007SF-MD for pgsql-hackers@arkaria.postgresql.org; Thu, 13 Jul 2017 16:35:05 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dVh4z-0008Hv-8u for pgsql-hackers@arkaria.postgresql.org; Thu, 13 Jul 2017 16:35:05 +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.84_2) (envelope-from ) id 1dVh4y-0008GZ-6I for pgsql-hackers@postgresql.org; Thu, 13 Jul 2017 16:35:04 +0000 Received: from boipeva.ensmp.fr ([194.214.158.136] helo=cc-tupan-roaming-b.ensmp.fr) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVh4u-00082z-W4 for pgsql-hackers@postgresql.org; Thu, 13 Jul 2017 16:35:03 +0000 Received: from cri.ensmp.fr (AGrenoble-653-1-26-96.w90-52.abo.wanadoo.fr [90.52.64.96]) (authenticated bits=0) by cc-tupan-roaming-b.ensmp.fr (8.15.2/8.15.2/JMMC-22/Oct/2013) with ESMTPSA id v6DGYtGc005666 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 13 Jul 2017 18:34:55 +0200 Date: Thu, 13 Jul 2017 18:34:55 +0200 (CEST) From: Fabien COELHO X-X-Sender: fabien@lancre To: Marina Polyakova cc: PostgreSQL Developers , Kevin Grittner , Andres Freund , Alvaro Herrera , Thomas Munro , Robert Haas Subject: Re: WIP Patch: Pgbench Serialization and deadlock errors In-Reply-To: <898b57f7c12b6bd0484f8ca58fdf8436@postgrespro.ru> Message-ID: References: <72a0d590d6ba06f242d75c2e641820ec@postgrespro.ru> <6b4a7fb36c9956595a89a08e5368a9c5@postgrespro.ru> <01df6ca86c78e2c80b4e4d021c99d53a@postgrespro.ru> <898b57f7c12b6bd0484f8ca58fdf8436@postgrespro.ru> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Miltered: at cc-tupan-roaming-b.ensmp.fr with ID 5967A12F.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Auth: USER-ID fabien.coelho X-j-chkmail-Enveloppe: 5967A12F.000 from AGrenoble-653-1-26-96.w90-52.abo.wanadoo.fr/AGrenoble-653-1-26-96.w90-52.abo.wanadoo.fr/90.52.64.96/cri.ensmp.fr/ List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org >> I was not convinced by the overall memory management around variables >> to begin with, and it is even less so with their new copy management. >> Maybe having a clean "Variables" data structure could help improve the >> situation. > > Ok! Note that there is something for psql (src/bin/psql/variable.c) which may or may not be shared. It should be checked before recoding eventually the same thing. -- Fabien. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers