Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aenDn-0007je-Hi for pgsql-hackers@arkaria.postgresql.org; Sat, 12 Mar 2016 17:20:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aenDn-0007GX-1b for pgsql-hackers@arkaria.postgresql.org; Sat, 12 Mar 2016 17:20:59 +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) (envelope-from ) id 1aenCR-0005ap-8f for pgsql-hackers@postgresql.org; Sat, 12 Mar 2016 17:19:35 +0000 Received: from mail-lb0-x235.google.com ([2a00:1450:4010:c04::235]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1aenCO-0002U2-2N for pgsql-hackers@postgresql.org; Sat, 12 Mar 2016 17:19:34 +0000 Received: by mail-lb0-x235.google.com with SMTP id x1so192436556lbj.3 for ; Sat, 12 Mar 2016 09:19:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=MGoVfEwP3/9QlTeGOJZjWvJ56q+kdvN8pgbKkqur2aE=; b=H1YLidFmMTbDa0oNJyeQQuVUuqMeWxwWOwSDwxrjJlNSp/EpXZUSDRnMKjLvlcuWOl ZXDxJJ/SJgkbBwzpHDMbyTuGscB0y/Q3rkO9OGlnO/YDXBHVfP1ECdwNwB03TUdAWQq2 E+6Q2Yz22RnpPbF8dO3o6gIerNTYmD8mdqCA2M3nMz5u/a6j7waNez7baouubGAh0iGZ FU+0pXnx0C9Kj7iAbwxJFsdxMY9Mj7cAR5cVC1noE8u9VoI8mkUrMilOYxS7uUeY4zj/ yChlEtJYhUhGODIjdt3MWr5+jdC1W+XrJi1vJ60rcMAU5YC/VGw5e+kA4lePsHf9+LAv vbLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=MGoVfEwP3/9QlTeGOJZjWvJ56q+kdvN8pgbKkqur2aE=; b=fZrScSFWpgWbY7S/p5sfsAXb5VtNIBG6y42ov6MXL9hzIy+SPP3fPZScXaXdbAhWMp lzuZJWJnIqUcfeHZKSijDqQUXcEoC8yigk5U9Vxbg9JaDc31kk4d4okf/wUl6FdaVFqZ gWSYJFZGTJP4GkZybCb8esT9f/+36vTqpqxxCSC1Qgr72FjYWF/IwkZ3hSVX/QLeAWmB Boca0O7/ZKQndNOZo30xhwgfhCs0Uv/11G8S71IqSIkydE7qfY/ilqIXO1/CeTl7XavN tPm+UxGeyGDkh0534fJt18oR8ehNh7ddB3KPxNPj6qDE8hjKyGfT1IN7ev0VrlYYJDrw uf9A== X-Gm-Message-State: AD7BkJKNmc5u/CPaqraBgR56CdnwAPevbIUUGpdnUKZfXUdgSkzXJrNsodZ0ntT/6qwG8c4RoPhnFIloGSX7XA== MIME-Version: 1.0 X-Received: by 10.25.41.212 with SMTP id p203mr3899122lfp.48.1457803171103; Sat, 12 Mar 2016 09:19:31 -0800 (PST) Received: by 10.112.168.129 with HTTP; Sat, 12 Mar 2016 09:19:30 -0800 (PST) In-Reply-To: <56E35541.1060905@BlueTreble.com> References: <15170.1457651842@sss.pgh.pa.us> <56E35541.1060905@BlueTreble.com> Date: Sat, 12 Mar 2016 12:19:30 -0500 Message-ID: Subject: Re: [COMMITTERS] pgsql: Provide much better wait information in pg_stat_activity. From: Robert Haas To: Jim Nasby Cc: Joel Jacobson , Tom Lane , Pavel Stehule , "pgsql-hackers@postgresql.org" Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -2.7 (--) 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 On Fri, Mar 11, 2016 at 6:31 PM, Jim Nasby wrote: > On 3/10/16 8:36 PM, Robert Haas wrote: >> 1. We make it true only for heavyweight lock waits, and false for >> other kinds of waits. That's pretty strange. >> 2. We make it true for all kinds of waits that we now know how to >> report. That still breaks compatibility. > > > I would absolutely vote for 2 here. You could even argue that it's a bug > fix, since those were waits we technically should have been indicating. You could also argue that's a compatibility break, because people may have logic that assumes that a wait is always a heavyweight lock wait. If we keep the column but change the meaning, people who need to update their scripts may fail to notice. Hard breaks aren't that fun, but at least you don't fail to notice that something needs to be changed. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers