Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tsc36-0004Hc-Sx for pgsql-admin@arkaria.postgresql.org; Tue, 08 Jan 2013 16:29:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Tsc36-0008B3-CH for pgsql-admin@arkaria.postgresql.org; Tue, 08 Jan 2013 16:29:12 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tsc34-00089v-Qg for pgsql-admin@postgresql.org; Tue, 08 Jan 2013 16:29:10 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tsc2w-00023M-T5 for pgsql-admin@postgresql.org; Tue, 08 Jan 2013 16:29:10 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r08GT1xO009188; Tue, 8 Jan 2013 11:29:01 -0500 (EST) From: Tom Lane To: "Campbell, Lance" cc: "pgsql-admin@postgresql.org" Subject: Re: How to display full query in logs In-reply-to: References: Comments: In-reply-to "Campbell, Lance" message dated "Tue, 08 Jan 2013 15:50:21 +0000" Date: Tue, 08 Jan 2013 11:29:01 -0500 Message-ID: <9187.1357662541@sss.pgh.pa.us> X-Pg-Spam-Score: -1.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 "Campbell, Lance" writes: > What I see: > UPDATE abc.table set def=$1 WHERE id=$2 > What I want to see: > UPDATE abc.table set def='hi bob' WHERE id=12 It doesn't work that way. What you should be seeing, though, is that the value of each parameter is included in a DETAIL line just after the statement text. regards, tom lane -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin