Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZD8jv-0000sX-KN for pgsql-bugs@arkaria.postgresql.org; Thu, 09 Jul 2015 10:07:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZD8jv-0003Fl-59 for pgsql-bugs@arkaria.postgresql.org; Thu, 09 Jul 2015 10:07:35 +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 1ZD8ju-0003FT-0l for pgsql-bugs@postgresql.org; Thu, 09 Jul 2015 10:07:34 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZD8jr-0003wj-HJ for pgsql-bugs@postgresql.org; Thu, 09 Jul 2015 10:07:33 +0000 Received: from intern.anarazel.de (p5DDC6245.dip0.t-ipconnect.de [93.220.98.69]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id 83CCB860002; Thu, 9 Jul 2015 12:07:30 +0200 (CEST) Date: Thu, 9 Jul 2015 12:07:30 +0200 From: Andres Freund To: grb@skogoglandskap.no Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #13495: Postgres documentation consistently teaches 'bad' practice Message-ID: <20150709100730.GX10242@alap3.anarazel.de> References: <20150709095259.15754.83737@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150709095259.15754.83737@wrigleys.postgresql.org> X-Pg-Spam-Score: -4.5 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 2015-07-09 09:52:59 +0000, grb@skogoglandskap.no wrote: > Relates to a current thread on pgsql-performance. Can we please, please, not spread the discussion out any further. It's bad enough that we're already discussing on separate threads on -bugs and -performance. > This issue is absolutely critical for performance and scalability of code, Pft. In most cases it doesn't actually matter that much because the contained query are the expensive stuff. It's just when you do lots of very short and cheap things that it has such a big effect. Usually the effect on the planner is bigger. That said, I don't mind improving the docs here, they're not easy to grasp. But it probably shouldn't be in plpgsql's docs, but rather the general function ones. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs