Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ghfZJ-0008LM-4B for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Jan 2019 19:00:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ghfZH-00032x-Oc for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Jan 2019 19:00:39 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ghfZH-00032j-DY for pgsql-hackers@lists.postgresql.org; Thu, 10 Jan 2019 19:00:39 +0000 Received: from mail-qt1-x843.google.com ([2607:f8b0:4864:20::843]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ghfZE-0006S9-L5 for pgsql-hackers@postgresql.org; Thu, 10 Jan 2019 19:00:38 +0000 Received: by mail-qt1-x843.google.com with SMTP id i7so14690581qtj.10 for ; Thu, 10 Jan 2019 11:00:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=BkeqNPm4YiDvhK2wQqnSFaZysGnRpkv39EsFtuLd2Ow=; b=QnI5axNfaYXCYPSE7PmuuPhEgl2xwWz9IP+3wO44+9CoKGNOr1NHyqjjveNSOMQQR3 8dbaF40oNnUO4sEziS2wXUWrDxDJyOfl+HTqw47n+XIAI3pbCXuEFt9RXM591Zk0ioDG CHEkFp998i79xLgKAGQHd/wxNYWKLQiUn1GskYku1oWrEyCiAUVTVSPcm0m3ptWtM1FQ 2DE97o+9cNaMfD06MqdHr4S2z//zqYFOt0+I3Ot3PrpSDUYT5erkZe9k28nLASvlrfnI yyL6WlneZNRpA7OfLCH4dJgDFO/dYdyCcK7lJqvxx04v2QywJOtViPSbxSeSGS0yGUDF BDzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=BkeqNPm4YiDvhK2wQqnSFaZysGnRpkv39EsFtuLd2Ow=; b=V7RexY0gRZYZ9jfBh9VXbJcIRGq6C6U6d4VEqpUL/PLreHoXJaQ2UIiL0bXzHJd9sX PkKgQsPoqr+1rcssbI7jkgIzi534keKGZvxj6jnvRxzO6mnSdEk74C8Sb/lajfHhTTkN ngI/5Drbmj9pMJbJ7Jc0Hdwp+Sb3dOkGB0eEn4O6izpbcOWBYcuKoHZj1x86qIJNOn4q NafxZ3DWUy7jojB+ND+5TdT4suA49ofX9DjcBGmZADYYEOyCgwjpM8YBIYTupqFwCCXI dRYFCybtYHYqgVlzVmSM6CKGBE+bwNO2JM4wUSDGLdhN/WZL6SG7FRrFq9gWgPzqwvKI VRTA== X-Gm-Message-State: AJcUukeib7cx+aH0NbkUoexN/toZLPZo3Llxv53dYEKFyy25zk+MYnSy 6bGO/XxzSA07gc6eB5+ZbSuI5pBaXUc4Hg== X-Google-Smtp-Source: ALg8bN5N2WHgoSIbxBfz1LUxjlVk37DPpNAhNhG84vqgnhFxjdWN5rO/swi+ePsxbj3SRgLg1u8IWQ== X-Received: by 2002:ac8:520f:: with SMTP id r15mr10688407qtn.167.1547146835716; Thu, 10 Jan 2019 11:00:35 -0800 (PST) Received: from alvin.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id y68sm10655064qkd.49.2019.01.10.11.00.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 10 Jan 2019 11:00:34 -0800 (PST) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 6520B762; Thu, 10 Jan 2019 16:00:33 -0300 (-03) Date: Thu, 10 Jan 2019 16:00:33 -0300 From: Alvaro Herrera To: Tom Lane Cc: Fabien COELHO , Michael Paquier , Stephen Frost , Andrew Dunstan , PostgreSQL Developers Subject: Re: [HACKERS] pgbench - allow to store select results into variables Message-ID: <201901101900.mv7zduch6sad@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4798.1547144459@sss.pgh.pa.us> User-Agent: NeoMutt/20180716-1013-2c1e88 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Jan-10, Tom Lane wrote: > Alvaro Herrera writes: > > Now let's see how the buildfarm likes this ... > > This \cset thing seem like an incredibly badly thought out kluge. > What is its excuse to live? The reason is that you can set variables from several queries in one network trip. We can take it out I guess, but my impression was that we already pretty much had a consensus that it was wanted. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services