Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gzOOr-0004Zq-9j for pgsql-performance@arkaria.postgresql.org; Thu, 28 Feb 2019 16:19:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gzOOp-0004z4-JV for pgsql-performance@arkaria.postgresql.org; Thu, 28 Feb 2019 16:19:07 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gzOOp-0004yx-34 for pgsql-performance@lists.postgresql.org; Thu, 28 Feb 2019 16:19:07 +0000 Received: from mail-it1-x143.google.com ([2607:f8b0:4864:20::143]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gzOOl-0006R8-Pn for pgsql-performance@postgresql.org; Thu, 28 Feb 2019 16:19:05 +0000 Received: by mail-it1-x143.google.com with SMTP id l66so16519691itg.3 for ; Thu, 28 Feb 2019 08:19:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=60TkDBJaqiJzcrnP4o4IxdRcAHFy52nWfZudrZqcT40=; b=UY5QR85qD2L7OZEpZewo1Mmun14giSeLW7WJOb9ofPSXaI2r/6RXNbMyGuhTQ1RlI/ qy5Z2UhuzGW3dzTalWg3JT62Ls2mtbB/lFZD4QIlOw/+OaKXKHKp2msO7rNTS08pKN+Q DVnUWEVSzhuEUJH1BfI3DhgfiuWmsAhvzRHykCwW1RrTsAuSqWJeAimgVUyTMJsLcToT wZyPCmSMyG2z/3Qi+vo6gNHAp5ECgRYP8apKM9rXN+WO4lgeNjsD7oNrmoXOlC18XYPL s3BUiB7eHemCwy+7rs/ClLm0Ofs+C7Hb8I1xY4Vcn9Sa5weU5nm/MJ3FxGkM7/6EFTFC Vs1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=60TkDBJaqiJzcrnP4o4IxdRcAHFy52nWfZudrZqcT40=; b=VJ2rZUAvj+vRea1/bFiv4FUFnT7g/6+3LK0vayApe556BSHO7ZgDM1lhefUshpmUi1 Z4uA4EjV55JhxbHzRkcJpjQ/P1ZRff5qvPQ7/mRd2ruK8aXlsj1dUFkmId7xk2LxBrtm m2ZKICYMk2zEJpjaATpTr8hz2rVCLClpvJecbotCIxczJxM9NWS8ux1NFGGRxKBwQr/f Zjh6AHKOZM1D6glF5rt0pFSOWyspXMYPPOrlTsuGrom8iiWXqlTIu1MmzBE3LevN2z5J R30NTsoDSWSv3g4f96pgEJNwPvI/gtqbJpi+pq5uy2zPGNKCo9D/n0wRZLxKEfR0NR3H GTYQ== X-Gm-Message-State: AHQUAuYbNTQwJpF31xgLxmoHDniJ1c3XC7kckPyx6PuqLm8PylEfEHBO i8/uTtUeL9b7RZA1vXhp2xvQG2IiPyI= X-Google-Smtp-Source: AHgI3IZcjm9fnFkVkq4NQ3TxEEoBMiw58mm7yN4+GzSf0s7yS6y03yigw/swOceghEvFr5RSRlmNcw== X-Received: by 2002:a02:241d:: with SMTP id f29mr4894797jaa.30.1551370742270; Thu, 28 Feb 2019 08:19:02 -0800 (PST) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id 81sm7662261iou.78.2019.02.28.08.19.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Feb 2019 08:19:01 -0800 (PST) Received: by pryzbyj (Postfix, from userid 1000) id 8B9A1800C83; Thu, 28 Feb 2019 10:19:00 -0600 (CST) Date: Thu, 28 Feb 2019 10:19:00 -0600 From: Justin Pryzby To: ROS Didier Cc: pgsql-performance@postgresql.org Subject: Re: How to get the content of Bind variables Message-ID: <20190228161900.GV28750@telsasoft.com> References: <716d29c0713049e98cb80faff31db103@PCYINTPEXMU001.NEOPROD.EDF.FR> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <716d29c0713049e98cb80faff31db103@PCYINTPEXMU001.NEOPROD.EDF.FR> User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Thu, Feb 28, 2019 at 12:21:56PM +0000, ROS Didier wrote: > Statement: update t_shared_liste_valeurs set deletion_date=$1, deletion_login=$2, modification_date=$3, modification_login=$4, administrable=$5, libelle=$6, niveau=$7 where code=$8 > > è how to get the content of the bind variables ? What is your setting of log_error_verbosity ? https://www.postgresql.org/docs/current/runtime-config-logging.html#GUC-LOG-ERROR-VERBOSITY Also, I recommend using CSV logs, since they're easier to import into the DB and then easier to parse. https://www.postgresql.org/docs/current/runtime-config-logging.html#GUC-LOG-ERROR-VERBOSITY Also, note that you can either set log_min_duration_statement=0, which logs all statement durations, and associated statements (if they haven't been previously logged). Or, you can set log_statement=all, which logs all statements (but duration is only logged according to log_min_duration_statement). Justin