Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axJHf-0002LG-TV for pgsql-admin@arkaria.postgresql.org; Mon, 02 May 2016 19:13:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1axJHf-0000IL-G5 for pgsql-admin@arkaria.postgresql.org; Mon, 02 May 2016 19:13:31 +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 1axJHe-0000Ej-Bg for pgsql-admin@postgresql.org; Mon, 02 May 2016 19:13:30 +0000 Received: from www.commandprompt.com ([2604:da00:2:2:5054:ff:fe07:7618] helo=lists.commandprompt.com) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axJHa-0005B7-Lp for pgsql-admin@postgresql.org; Mon, 02 May 2016 19:13:28 +0000 Received: from [192.168.1.61] (spinlock.commandprompt.com [69.168.55.30]) by lists.commandprompt.com (Postfix) with ESMTPA id 0B05E572; Mon, 2 May 2016 12:13:24 -0700 (PDT) Received: from c-73-225-27-179.hsd1.wa.comcast.net ([73.225.27.179] helo=[192.168.1.61]) by assp.commandprompt.com with SMTPSA(TLSv1_2 ECDHE-RSA-AES128-GCM-SHA256) (2.4.5); 2 May 2016 12:13:24 -0700 Subject: Re: Inspect values of prepared statements To: Natalie Wenz , pgsql-admin References: <26FFD5EA-0317-497F-9CCA-BC80C6A1CA6C@ebureau.com> <5727943C.4050008@commandprompt.com> <1B7B1A44-6B19-46AF-8ED8-74098F43B45C@ebureau.com> <57279740.9080300@commandprompt.com> <4DD34523-B75E-4409-A640-2704B0ED2C3E@ebureau.com> From: "Joshua D. Drake" Organization: Command Prompt, Inc. Message-ID: <5727A6D4.4020609@commandprompt.com> Date: Mon, 2 May 2016 12:13:24 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <4DD34523-B75E-4409-A640-2704B0ED2C3E@ebureau.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Assp-Version: 2.4.5(15162) on assp.commandprompt.com X-Assp-ID: assp.commandprompt.com m1-16404-05517 X-Assp-Session: 7EFE64D73AF0 (mail 1) X-Assp-Envelope-From: jd@commandprompt.com X-Assp-Intended-For: pgsql-admin@postgresql.org X-Assp-Intended-For: nataliewenz@ebureau.com X-Assp-Original-Subject: Re: [ADMIN] Inspect values of prepared statements X-Assp-Client-SSL: yes X-Pg-Spam-Score: -2.9 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org On 05/02/2016 11:41 AM, Natalie Wenz wrote: > Oh, interesting. I didn't realize you could change that on the fly. > That's helpful. > > So, my revised question: is there any way to inspect the values from a > prepared statement when the query contains an error? Or some combination > of logging settings that would give me that detail? > What version are you running? Also check log_min_error_statement Sincerely, JD -- Command Prompt, Inc. http://the.postgres.company/ +1-503-667-4564 PostgreSQL Centered full stack support, consulting and development. Everyone appreciates your honesty, until you are honest with them. -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin