Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id E0FD4B5DBD9 for ; Wed, 17 Aug 2011 17:12:38 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 99621-05 for ; Wed, 17 Aug 2011 20:12:27 +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 545D8B5DBD6 for ; Wed, 17 Aug 2011 17:12:27 -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 p7HKCPOd000323; Wed, 17 Aug 2011 16:12:25 -0400 (EDT) To: "ktm@rice.edu" cc: bobbyw , pgsql-performance@postgresql.org Subject: Re: DBT-5 & Postgres 9.0.3 In-reply-to: <20110817181406.GI26302@staff-mud-56-27.rice.edu> References: <1313594994243-4708692.post@n5.nabble.com> <4E4BFA2B.60507@squeakycode.net> <1313603952652-4709231.post@n5.nabble.com> <20110817181406.GI26302@staff-mud-56-27.rice.edu> Comments: In-reply-to "ktm@rice.edu" message dated "Wed, 17 Aug 2011 13:14:06 -0500" Date: Wed, 17 Aug 2011 16:12:25 -0400 Message-ID: <322.1313611945@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.973 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-1.073 X-Spam-Level: X-Archive-Number: 201108/203 X-Sequence-Number: 44650 "ktm@rice.edu" writes: > On Wed, Aug 17, 2011 at 10:59:12AM -0700, bobbyw wrote: >> Why is psql looking in /tmp? > Because that is the default location. If you want to change it, you need > to use the -h commandline option. It sounds to me like bobbyw might have two separate installations of postgres (or at least two copies of psql), one compiled with /tmp as the default socket location and one compiled with /var/run/postgresql as the default. /tmp is the out-of-the-box default but I think Debian likes to build it with /var/run/postgresql as the default. regards, tom lane