Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id C55C16331C5 for ; Fri, 23 Apr 2010 19:09:12 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 49939-04 for ; Fri, 23 Apr 2010 22:09:00 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-iw0-f187.google.com (mail-iw0-f187.google.com [209.85.223.187]) by mail.postgresql.org (Postfix) with ESMTP id BF1B0632FED for ; Fri, 23 Apr 2010 19:09:00 -0300 (ADT) Received: by iwn17 with SMTP id 17so3453261iwn.19 for ; Fri, 23 Apr 2010 15:08:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=QBtelkZAIvHu3AJ453Ls7Z2jbCxrD32yPuRsmZaY7+M=; b=mSIhkHQzs9xRrbuB0CDpENQEJkFHB+ty0U70BPX9POyaJw0XrsVnqRmmPyEoM++0jK SEwkbF+NuUSSa/oK4p5VtrBDpf+FBOeoRLwlH796L6qE/LllFA8jhZxueTziSlhSalGF 6Ulmzz6xU4tygbiSud71NLieN/l6i61PeVtFQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=InBU8XMVYSZk2emrb4tzo50zCENjuDXgQyS4qOVhIFmqkANlgN0m/JE5W0vmcDfW8k 5vx19/GS8syXnBFM7v8GrMnGbLzl/QS6//XMwNLEWQEoDb0dcIR6FpYjr93kLaU5rbNu 7pJq4GgiPsaDNePzHyXmszSIdogS0aSKGc2CE= MIME-Version: 1.0 Received: by 10.231.150.195 with SMTP id z3mr189851ibv.3.1272060539530; Fri, 23 Apr 2010 15:08:59 -0700 (PDT) Received: by 10.231.12.129 with HTTP; Fri, 23 Apr 2010 15:08:59 -0700 (PDT) In-Reply-To: References: Date: Fri, 23 Apr 2010 18:08:59 -0400 Message-ID: Subject: Re: Replacing Cursors with Temporary Tables From: Robert Haas To: Eliot Gable Cc: pgsql-performance@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=-10 required=5 tests=BAYES_40=-0.001, FREEMAIL_FROM=0.001 X-Spam-Level: X-Archive-Number: 201004/305 X-Sequence-Number: 38555 On Fri, Apr 23, 2010 at 4:42 PM, Eliot Gable wrote: > And, from these tests, it would be significant overhead. Yeah, I've been very disappointed by the size of the function-call overhead on many occasions. It might be worth putting some effort into seeing if there's anything that can be done about this, but I haven't. :-) ...Robert