Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aeUhc-0000IX-5W for pgsql-hackers@arkaria.postgresql.org; Fri, 11 Mar 2016 21:34:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aeUhb-0008GG-M9 for pgsql-hackers@arkaria.postgresql.org; Fri, 11 Mar 2016 21:34:31 +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 1aeUhY-00087W-4l for pgsql-hackers@postgresql.org; Fri, 11 Mar 2016 21:34:28 +0000 Received: from mail-yw0-x230.google.com ([2607:f8b0:4002:c05::230]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1aeUhU-0003HN-BL for pgsql-hackers@postgresql.org; Fri, 11 Mar 2016 21:34:27 +0000 Received: by mail-yw0-x230.google.com with SMTP id g127so105602728ywf.2 for ; Fri, 11 Mar 2016 13:34:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=x1UqmwOTH65puT8d0f6pvNSw7tBqHoAsmua2YFmiG8k=; b=FdBN3HXOWve60o9fe0R8e8YRt14J1VNNQutiba/DhOIB64eja5Lme5KtkFWm9jxNEX 2OH+2Ei3vKPCHX7mcauoEO/bBvG5iYgUNNP63eQT/5YGEX32KpPiKKHO6ZhOejfOv/Kv sn7SFeWsbHO7wd5ap17kNlzfV3iV5eMsBaRDFtp5wLepWusWwAI2LJwGa6sFnnwe+3pk keHQXu4sGnoSuAe/ONWqOD/9QllcMDe+0NTasC0fW4u/2X1Z7sSXfuHmCeEW8U1Inx1x w7NqPJ9fsVIQWouriQsYm6dS0jcRDsiQqckw8BmGk0jfoQ6vZJL0LdGIoAUi8PvsTp0d 0oWQ== 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:from:date :message-id:subject:to:cc; bh=x1UqmwOTH65puT8d0f6pvNSw7tBqHoAsmua2YFmiG8k=; b=D70NbbHH7Gxm32HmDxjyYg91UoNNjxcTB2fCei4L18sG1qz2vXdBC93k/elai9S0RI Hs4VkTC5AqvBdlD9jEBtZYT1UNIndnLOEyPcekbunF5Nff7wSoOyWhc6EUkkeVadzDQv 7EuSit2D8pD0s6gC/XdJ754jS0nymtNRWzHX28m91Yd3hmeBqHJ/QYnZ+HoK270OGCb4 1nmR+laef4PDYuvCYnM4n9hXOt3pw1UqvLC/3yhUUnOgVxnTY7JQKkt27MK/85XqXuE8 yOcRY4vvnt31M4ptW/td2kMJ6i+hdLSkZTsPt+FXzQIyB05alLzZgbHQUIssHnRgB5NB by6w== X-Gm-Message-State: AD7BkJJk22zrX3g6muWn3uhb9kL18y3EQ2/ApuWpEeMIPE/grG+ykJQoAo9OppO1r9VZfUNhlb1nzHL9Aw3K0A== X-Received: by 10.37.230.204 with SMTP id d195mr6307905ybh.127.1457732062930; Fri, 11 Mar 2016 13:34:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.13.228.193 with HTTP; Fri, 11 Mar 2016 13:33:43 -0800 (PST) In-Reply-To: References: <15170.1457651842@sss.pgh.pa.us> From: Pavel Stehule Date: Fri, 11 Mar 2016 22:33:43 +0100 Message-ID: Subject: Re: [COMMITTERS] pgsql: Provide much better wait information in pg_stat_activity. To: Robert Haas Cc: Joel Jacobson , Tom Lane , "pgsql-hackers@postgresql.org" , Marko Tiikkaja Content-Type: multipart/alternative; boundary=94eb2c0a980ec9f197052dccb123 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 --94eb2c0a980ec9f197052dccb123 Content-Type: text/plain; charset=UTF-8 2016-03-11 22:08 GMT+01:00 Robert Haas : > On Fri, Mar 11, 2016 at 3:44 PM, Joel Jacobson wrote: > > On Fri, Mar 11, 2016 at 11:14 AM, Robert Haas > wrote: > >> I'm not direly opposed to most of what's on that page, > >> but I'm not excited about most of it, either. > > > > May I ask, what improvements of PL/pgSQL would you personally be most > > excited about, > > if you or someone else would have unlimited resources to hack on it? > > > >> I bet if we canvassed 10 different companies that made heavy use of > PL/pgsql they'd all have > >> a list of proposed changes like that, and I bet some of them would > >> conflict with each other, and I bet if we did all that stuff the > >> average PL/pgsql user's life would not be much better, but the manual > >> would be much longer. > > > > You as a professional PostgreSQL consultant obviously have a lot of more > > contact than me with other companies who make heavy use of PL/pgSQL. > > > > I'm assuming your bet on these proposed changes in conflict you talk > about > > are based on things you've picked up IRL from companies you've been > > working with. > > > > What would you say are the top most commonly proposed changes > > from companies that make heavy use of PL/pgSQL, and which of those are > > in conflict? > > I don't think my experience in this area is as deep as you seem to > think. I can tell you that most of the requests EnterpriseDB gets for > PL/pgsql enhancements involve wanting it to be more like Oracle's > PL/SQL, which of course has very little overlap with the stuff that > you're interested in. But I'm not really commenting here based on > that. I'm just giving you my impression based on the discussion I've > seen on the mailing list and my own personal feelings. If there is an > outcry for STRICT as you have proposed it, I'm not especially opposed > to that. I just think it needs a consensus that I haven't seen > emerge. > This proposal is not bad from my perspective - but in detail these points breaks compatibility, can have negative performance impacts or are ugly. I understand to all points, but I am not sure, if the benefits are better than costs (compatibility issues). Can we talk about these points in separate thread? I can imagine few points as extra checks. This is probably theme for 9.6, so we can discuss about it in 9.6 release cycle. Regards Pavel > > -- > Robert Haas > EnterpriseDB: http://www.enterprisedb.com > The Enterprise PostgreSQL Company > --94eb2c0a980ec9f197052dccb123 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


2016-03-11 22:08 GMT+01:00 Robert Haas <robertmhaas@gmail.com&= gt;:
On Fri, Mar 11, 2016 at 3:44 PM, Joel Jacobson <joel@trustly.com> wrote:
> On Fri, Mar 11, 2016 at 11:14 AM, Robert Haas <robertmhaas@gmail.com> wrote:
>> I'm not direly opposed to most of what's on that page,
>> but I'm not excited about most of it, either.
>
> May I ask, what improvements of PL/pgSQL would you personally be most<= br> > excited about,
> if you or someone else would have unlimited resources to hack on it? >
>> I bet if we canvassed 10 different companies that made heavy use o= f PL/pgsql they'd all have
>> a list of proposed changes like that, and I bet some of them would=
>> conflict with each other, and I bet if we did all that stuff the >> average PL/pgsql user's life would not be much better, but the= manual
>> would be much longer.
>
> You as a professional PostgreSQL consultant obviously have a lot of mo= re
> contact than me with other companies who make heavy use of PL/pgSQL. >
> I'm assuming your bet on these proposed changes in conflict you ta= lk about
> are based on things you've picked up IRL from companies you've= been
> working with.
>
> What would you say are the top most commonly proposed changes
> from companies that make heavy use of PL/pgSQL, and which of those are=
> in conflict?

I don't think my experience in this area is as deep as you = seem to
think.=C2=A0 I can tell you that most of the requests EnterpriseDB gets for=
PL/pgsql enhancements involve wanting it to be more like Oracle's
PL/SQL, which of course has very little overlap with the stuff that
you're interested in.=C2=A0 But I'm not really commenting here base= d on
that.=C2=A0 I'm just giving you my impression based on the discussion I= 've
seen on the mailing list and my own personal feelings.=C2=A0 If there is an=
outcry for STRICT as you have proposed it, I'm not especially opposed to that.=C2=A0 I just think it needs a consensus that I haven't seen emerge.

This proposal is not bad from m= y perspective - but in detail these points breaks compatibility, can have n= egative performance impacts or are ugly. I understand to all points, but I = am not sure, if the benefits are better than costs (compatibility issues). =

Can we talk about these points in separate thread? I can= imagine few points as extra checks. This is probably theme for 9.6, so we = can discuss about it in 9.6 release cycle.

Regards
Pavel

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

--94eb2c0a980ec9f197052dccb123--