X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 90EBD52831 for ; Tue, 19 Jul 2005 15:53:24 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 82527-02 for ; Tue, 19 Jul 2005 18:53:15 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 5ADAD5281B for ; Tue, 19 Jul 2005 15:53:15 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j6JIrD4g008376; Tue, 19 Jul 2005 14:53:13 -0400 (EDT) To: Christopher Petrilli Cc: PFC , Vivek Khera , pgsql-performance@postgresql.org Subject: Re: Impact of checkpoint_segments under continual load conditions In-reply-to: <59d991c40507191148e6f9ec5@mail.gmail.com> References: <59d991c4050717100874c08a86@mail.gmail.com> <59d991c4050719084460b376f1@mail.gmail.com> <4541.1121788647@sss.pgh.pa.us> <59d991c40507190930244ba9bb@mail.gmail.com> <7224.1121791328@sss.pgh.pa.us> <59d991c4050719095440cd3de5@mail.gmail.com> <7436.1121792725@sss.pgh.pa.us> <59d991c405071910133e28031a@mail.gmail.com> <7843.1121796596@sss.pgh.pa.us> <59d991c40507191148e6f9ec5@mail.gmail.com> Comments: In-reply-to Christopher Petrilli message dated "Tue, 19 Jul 2005 14:48:54 -0400" Date: Tue, 19 Jul 2005 14:53:13 -0400 Message-ID: <8375.1121799193@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/309 X-Sequence-Number: 13550 Christopher Petrilli writes: > On 7/19/05, Tom Lane wrote: >> How *exactly* are you invoking psql? > It is a subprocess of a Python process, driven using a pexpect > interchange. I send the COPY command, then wait for the '=#' to come > back. Some weird interaction with pexpect maybe? Try adding "-n" (disable readline) to the psql command switches. regards, tom lane