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 1ielu6-0001YB-60 for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Dec 2019 20:14:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ielu4-00050Z-TY for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Dec 2019 20:14:40 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1ielu4-00050S-Fs for pgsql-hackers@lists.postgresql.org; Tue, 10 Dec 2019 20:14:40 +0000 Received: from mail-vk1-xa41.google.com ([2607:f8b0:4864:20::a41]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ieltx-000291-9b for pgsql-hackers@postgresql.org; Tue, 10 Dec 2019 20:14:40 +0000 Received: by mail-vk1-xa41.google.com with SMTP id i4so6069722vkc.3 for ; Tue, 10 Dec 2019 12:14:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=o/kOiSyWcnr8mY0QVQvVwBWMFzrmTXggSyl0YIOrgGQ=; b=V6pYxgs1pRGa+dh5HQqdj4hTwHBXaxA7UFgmMEqp56DYdszhuTDw5tufKq9VE6GzMm ZaadKZN/30lYv5PfiOasUSFqtWpSugstjm3Uwvf5keD6dnojvFJynf17wYLe9+qxryfn 4O5wPO1dDROAa8LIBulWvi/3KlQRW2WHt2M97B9favgS+DqKeW614p0AS24AZqoxPw0F 3nT3X+Mx0gbZ2DxAcxFtHlgq9upuRSWGcM8eI1OB57XYicU7QepMhJISnFBLfWD1ghxc 2/v8EC61sqi0vLo1DKbybxRnM2zYXoFy8UE4A7x9xk7PtNptM67ithG/ggx1Pi28kFmP jQwA== 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:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=o/kOiSyWcnr8mY0QVQvVwBWMFzrmTXggSyl0YIOrgGQ=; b=dQ+RPmNnszGFbj6/IF5B1cLxskWSsTwwjq1RfRTte5FwNk34UDXrjQhZYyc2VQrKwO w3GYzz4Wa43pv50hVM92c46ysBP6gkl/n+EISet3TygKFj3lW2gDvDoD66v6fQPSxFfb XrYtvcbh1ytSZFbaTrY1g4Oc1w56znob56NK28EccCy7Bb8ULHKpOvE6N6cywLKm8o74 O9m65o+cb8qJZ3lSY3t6Bu1DsD2YeKgyJLyuayAwtLEv41GVC/BmbEht/LN9Vn1eSfdU 7SUdgY0riOVOyuqhUVhWJfjKmMZal/i7bHTARSnRNRgfTq8hF0AUne1FagYa280kKDZR Catw== X-Gm-Message-State: APjAAAVv+nXgvAcncfchFSpVgOVM+snYKc5I7ih28h4eMgt5TRYwDGi7 V90d6dYcVHlf1IrfA4Z+R2XJ6w== X-Google-Smtp-Source: APXvYqzo269D1WqqTCcm6RGQSni5nyT0MJDrpchMcIJE4naD187zwW6v7Ke2Cx9iSvc1D7L+4G5iOA== X-Received: by 2002:a1f:4541:: with SMTP id s62mr11087430vka.59.1576008871073; Tue, 10 Dec 2019 12:14:31 -0800 (PST) Received: from nimloth.alvh.no-ip.org ([200.73.2.58]) by smtp.gmail.com with ESMTPSA id r67sm2982116vkr.55.2019.12.10.12.14.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2019 12:14:30 -0800 (PST) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id E553530057F; Tue, 10 Dec 2019 17:14:27 -0300 (-03) Date: Tue, 10 Dec 2019 17:14:27 -0300 From: Alvaro Herrera To: Tom Lane Cc: Andres Freund , Alexey Bashtanov , Peter Eisentraut , PostgreSQL Hackers Subject: Re: log bind parameter values on error Message-ID: <20191210201427.GA8094@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191210185913.GA28890@alvherre.pgsql> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Dec-10, Alvaro Herrera wrote: > On 2019-Dec-10, Alvaro Herrera wrote: > > > On 2019-Dec-09, Tom Lane wrote: > > > > > Some quick review of v19: > > > > Here's v20 with all these comments hopefully addressed. > > Grr, I had forgotten to git add the stringinfo.h -> pg_wchar.h changes, > so the prototype isn't anywhere in v20. However, after looking at it > again, I'm not very happy with how that turned out, because pg_wchar.h > is a frontend-exposed header. So I instead propose to put it in a > separate file src/include/mb/stringinfo_mb.h. Pushed 0001. Thanks for all the reviews -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services