Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 37D371337BD7 for ; Fri, 6 May 2011 12:12:18 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 42028-01 for ; Fri, 6 May 2011 15:12:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 993781337BB4 for ; Fri, 6 May 2011 12:12:10 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p46FC2oV011411; Fri, 6 May 2011 11:12:02 -0400 (EDT) To: "Campbell, Lance" cc: pgsql-admin@postgresql.org Subject: Re: logging In-reply-to: References: Comments: In-reply-to "Campbell, Lance" message dated "Fri, 06 May 2011 09:52:20 -0500" Date: Fri, 06 May 2011 11:12:02 -0400 Message-ID: <11410.1304694722@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201105/65 X-Sequence-Number: 37502 "Campbell, Lance" writes: > I currently use PostgreSQL 8.4.x. > Below is a message I see in my logs. How can I display the values for > $1, $2, etc. within the logs? > ERROR: duplicate key value violates unique constraint "table_name_pkey" Update to 9.0.x. There's no capability for this before that. regards, tom lane