Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2KGv-0007bQ-5C for pgsql-performance@arkaria.postgresql.org; Wed, 11 Oct 2017 16:54:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e2KGu-0001F0-Jq for pgsql-performance@arkaria.postgresql.org; Wed, 11 Oct 2017 16:54:16 +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_2) (envelope-from ) id 1e2KFA-0006Tx-3z for pgsql-performance@postgresql.org; Wed, 11 Oct 2017 16:52:28 +0000 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1e2KF7-0002YA-GN for pgsql-performance@postgresql.org; Wed, 11 Oct 2017 16:52:27 +0000 Received: by mail-wm0-x233.google.com with SMTP id i124so6412992wmf.3 for ; Wed, 11 Oct 2017 09:52:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=wnx2J7MautYEYgklzZmZzT/1NmL/swQnRwjfI9N3efc=; b=ExQJyjJjxv/23ab6D0icD4jEnDMeG3I9wmWaQVgYpCOnIpELN6npHvnUP3WZD5YoMJ c4TK7R0nZZe3TFApm5omgorAFqdDmgDTQ4TDPvgVAQzbrGcQUuhBJH7oVCfKaZ/qtsRz Ojrjsm3U+AVE8Wdt8w2ygK2TZOr7MvqQn83bSpBK2I3YuBN23ZbcRflgTxWIIMkwH6F6 CdJR0ynBEwfYkdz3V7pFpaS0PexTFYIsaOc6DI5IXYkcMTrKihTrwI3KjtCrhvYqM1QV Eftb5BpL1vj3KyOXmnr0/wWrzkMJ5H3pZzLT70UeLPpnPWENtQ9xjiiVlnquDIqhDVNV RzCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=wnx2J7MautYEYgklzZmZzT/1NmL/swQnRwjfI9N3efc=; b=BXUME6JjWEbfC9ZDdHpMz4Rfcvc31P7CiF+AE61Fljkg35kjhZVgkbnOJLG54ETmy3 27EGXHTuRMQ8/aPcIxsAAEJNij79xAn1Qq1OR0799OdPSDcI2yGR1Vbh+Q1AHDHEYsZc mdXTYzOjU1+WzMB4SZ/z5QTEEjM00oWmNriLz77tY7L7FO0UessVwy+rt3l91Xk3BBI2 1IDXhZj+1QXs0svRNP/4uSYbQIkPJmrtJgLfLXYspDhf/tiTfy/fkc9+CKp2FmXDATjD G1nYsAa/3kX8yHueLCYxt0hwXFrtzkMwKdDqUJyx/cOEw+F9S/ia5BbaY+/H0DAzHy4Q AQUA== X-Gm-Message-State: AMCzsaWzQOKqJnmBl0pV0t2zt5d+gKnaUUBp8NcY50jwf/ENF0rHaftI 9xcRPUJZPtS3aFtlP+llENp5E072r3Hg3uQKE+0= X-Google-Smtp-Source: AOwi7QDOBIQZ2ktO0hzhvRWjdWaXrDeo8t2Sth67Fc/zt5S80iqPPHn3+I2JPgbRD+488rDQWvnfMTI+r73XaClpj/E= X-Received: by 10.223.132.163 with SMTP id 32mr202956wrg.218.1507740744421; Wed, 11 Oct 2017 09:52:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.197.78 with HTTP; Wed, 11 Oct 2017 09:52:23 -0700 (PDT) In-Reply-To: References: <1507042486.2998.1.camel@cybertec.at> From: Purav Chovatia Date: Wed, 11 Oct 2017 22:22:23 +0530 Message-ID: Subject: Re: Stored Procedure Performance To: Adam Brusselback Cc: Pavel Stehule , Laurenz Albe , "pgsql-performance@postgresql.org" Content-Type: multipart/alternative; boundary="94eb2c0d0dde7c1435055b483f8f" List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org --94eb2c0d0dde7c1435055b483f8f Content-Type: text/plain; charset="UTF-8" Yes, there is some code to catch exceptions like unique constraint violation and no data found. Do you suggest we trying by commenting that part? btw, the dataset is a controlled one, so what I can confirm is we are not hitting any exceptions. Thanks On 11 October 2017 at 22:07, Adam Brusselback wrote: > Is there any error handling in there? I remember seeing performance > issues if you put in any code to catch exceptions. > --94eb2c0d0dde7c1435055b483f8f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes, there is some code to catch exceptions like unique co= nstraint violation and no data found. Do you suggest we trying by commentin= g that part? btw, the dataset is a controlled one, so what I can confirm is= we are not hitting any exceptions.

Thanks

On 11 October 2017 = at 22:07, Adam Brusselback <adambrusselback@gmail.com> wrote:
Is there any error handling in = there?=C2=A0 I remember seeing performance
issues if you put in any code to catch exceptions.

--94eb2c0d0dde7c1435055b483f8f--