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 1izYYw-0000ry-Ti for pgsql-general@arkaria.postgresql.org; Thu, 06 Feb 2020 04:14:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1izYYv-0002Fi-NK for pgsql-general@arkaria.postgresql.org; Thu, 06 Feb 2020 04:14:45 +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 1izYYv-0002Fb-A2 for pgsql-general@lists.postgresql.org; Thu, 06 Feb 2020 04:14:45 +0000 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1izYYs-00061T-UU for pgsql-general@lists.postgresql.org; Thu, 06 Feb 2020 04:14:43 +0000 Received: by mail-pj1-x1030.google.com with SMTP id m13so1929874pjb.2 for ; Wed, 05 Feb 2020 20:14:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=m7e2rif5pDi+44UWqaFbmr32jiPiQ4DOFBdaaJoi5Rk=; b=wSQcNBdF35PU+TFVYE6xhNbYMChEcKCWvAjSmioWS+jhHAamk1NpMPkI0pHGmvQZs+ ykXSVj9EV5kA7tWQ7bl6ObGUYghOZFCFz+nqcbzUp4Vh5kXUibEVoSntKdF4foRtdivk df7/GUFDTA/5XXS4dLBTjt/iNo7kc6yGYNYzZwWJcnSCMh3a5Q4n8xj6IAOtv05Cdx7y lSAkxLkN0WLBNeLvKvJ+uL76vRSyey/X9vB0GtwyHhjumXenutD/pYqr/pwxE9Y8X+T7 1zuNtjRXMC6TrSSAy8GOXo9B9uc57s5PSBMLsBRS979W11ibzldiMwEuW4d73tx16FrZ 4rag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=m7e2rif5pDi+44UWqaFbmr32jiPiQ4DOFBdaaJoi5Rk=; b=nmTe5DsrtVsYMHMDFaq/HS7kZTKvXLDAZX3A8YfHH6MAg8Mp3KKe+LtbFksNqviKYE LqIADm50BJbsWDmUiK84mc22nZ+yideo/yUbJSPoEcSToDQvJXHIozXJt1EvuisDDvcT v4YD4VVJ/K0eW21smfJ4MOhzVWM4GthXbf5k9StQz83yadb9rRbLDerSwqoi/+P4cxkp 13Svv22x15o0jxAX0F/O5LX6VeObyxW5yfZrTkR3xOWIegYW+2lH07PDbdaI9EFdMVQK MJFjM8GYVU5I1sheagPfWAIi8hnYg/KMr+xJhtVsAaOeUh0VoiWuE9UjsM7KIZVun+d5 8HGA== X-Gm-Message-State: APjAAAVl18RzRKF+pMCj6yGS0DwnaNuRScp1dYcbSyGC/NnUH51vwGTt bSO8NH39Ys/N7NB8UKwswNlKUS/v6dFtVJmtxrFTKfomp/0ZHVfNfWEIFNJfJAx1EYvx/Ay8nub g6co0EJWNEMG/pvQZPLt8WWUpjy8nfzGMaYedKiN4/XU1x1ah5WPw3rzPjZ0QyiupILgFbXeCpz T+4E4QrTWuxI1QkvgNG4U= X-Google-Smtp-Source: APXvYqwA/spAy0KnKKTj8NAJUgMD9tjcHQuTDjEMxqQn+TaXFtuCmYVOlWP+NwYPU0Mag90w9NsA9Q== X-Received: by 2002:a17:902:b40d:: with SMTP id x13mr1728425plr.122.1580962480487; Wed, 05 Feb 2020 20:14:40 -0800 (PST) Received: from Haris-MacBook-Pro.local ([117.98.155.165]) by smtp.gmail.com with ESMTPSA id i66sm1075017pfg.85.2020.02.05.20.14.39 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 05 Feb 2020 20:14:39 -0800 (PST) Subject: Re: POLL: Adding transaction status to default psql prompt To: pgsql-general@lists.postgresql.org References: <3d8e809b-fc26-87c5-55ac-616a98d2b0be@postgresfriends.org> From: Hari Kiran Message-ID: <3423268d-24cd-2084-30f1-02dde027c341@2ndquadrant.com> Date: Thu, 6 Feb 2020 09:44:37 +0530 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: <3d8e809b-fc26-87c5-55ac-616a98d2b0be@postgresfriends.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 06/02/20 8:24 am, Vik Fearing wrote: > Hello, > > I proposed a patch to add %x to PROMPT1 and PROMPT2 by default in psql. > > The effect of this is: > > - nothing at all when not in a transaction, > - adding a '*' when in a transaction or a '!' when in an aborted > transaction. > > Before making a change to a long-time default, a poll in this group was > requested. > > Please answer +1 if you want or don't mind seeing transaction status by > default in psql or -1 if you would prefer to keep the current default. > > Thanks! > > +1 from me. double +1 from me