Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGbWU-0007Xg-Dt for pgsql-sql@arkaria.postgresql.org; Fri, 02 Jun 2017 01:37:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dGbWU-0005xU-0M for pgsql-sql@arkaria.postgresql.org; Fri, 02 Jun 2017 01:37:06 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dGbVT-00039O-2X for pgsql-sql@postgresql.org; Fri, 02 Jun 2017 01:36:03 +0000 Received: from mwork.nabble.com ([162.253.133.43]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGbVQ-00036z-89 for pgsql-sql@postgresql.org; Fri, 02 Jun 2017 01:36:01 +0000 Received: from mben.nabble.com (unknown [162.253.133.72]) by mwork.nabble.com (Postfix) with ESMTP id B0C5E469108EC for ; Thu, 1 Jun 2017 18:35:59 -0700 (MST) Date: Thu, 1 Jun 2017 18:35:59 -0700 (MST) From: anand086 To: pgsql-sql@postgresql.org Message-ID: <1496367359721-5964400.post@n3.nabble.com> In-Reply-To: References: <1496363048908-5964384.post@n3.nabble.com> Subject: Re: Using bind variable within BEGIN END MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.1 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-sql Precedence: bulk Sender: pgsql-sql-owner@postgresql.org Thank you for the update. So seems like bind variable can't be used in "DO" block. We are running on RDS PostgreSQL 9.6. I will update with the code soon. -- View this message in context: http://www.postgresql-archive.org/Using-bind-variable-within-BEGIN-END-tp5964384p5964400.html Sent from the PostgreSQL - sql mailing list archive at Nabble.com. -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql