Return-Path: owner-postman Received: from localhost (localhost [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id FAA10704 for postgres-redist; Mon, 23 May 1994 05:59:43 -0700 Resent-From: POSTGRES mailing list Resent-Message-Id: <199405231259.FAA10704@nobozo.CS.Berkeley.EDU> Sender: owner-postman@postgres.Berkeley.EDU X-Return-Path: owner-postman Received: from faerie.CS.Berkeley.EDU (faerie.CS.Berkeley.EDU [128.32.149.14]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with ESMTP id FAA10694 for ; Mon, 23 May 1994 05:59:42 -0700 Received: from localhost (localhost [127.0.0.1]) by faerie.CS.Berkeley.EDU (8.6.4/8.1B) with SMTP id FAA05341; Mon, 23 May 1994 05:59:21 -0700 Message-Id: <199405231259.FAA05341@faerie.CS.Berkeley.EDU> X-Authentication-Warning: faerie.CS.Berkeley.EDU: Host localhost didn't use HELO protocol From: aoki@postgres.Berkeley.EDU (Paul M. Aoki) To: "David Alan Nelson" Cc: postgres@postgres.Berkeley.EDU Subject: Re: PQendcopy problem Reply-To: aoki@postgres.Berkeley.EDU (Paul M. Aoki) In-reply-to: Your message of Mon, 23 May 1994 13:31:00 +0100 (BST) Date: Mon, 23 May 94 05:59:21 -0700 X-Sender: aoki@postgres.Berkeley.EDU Resent-To: postgres-redist@postgres.Berkeley.EDU X-Mts: smtp Resent-Date: Mon, 23 May 94 05:59:43 -0700 Resent-XMts: smtp "David Alan Nelson" writes: > When using the PQlib system with Postgres 4.1, execution of the > PQendcopy() function causes the program executing PQendcopy() > to hang, rather than allowing us to perform a second operation. one thing that isn't terribly clear (ha, understatement) in the documentation is the fact that PQendcopy should only be used if you are doing copy with the stdin/stdout keywords. copy to/from a file works just like any other query; if you call PQendcopy in that case, the first thing libpq does is read from the connection, and i would expect that that would hang. (if that's not the problem, then i have no idea. both kinds of copy are exercised in the regression tests.) -- Paul M. Aoki | CS Div., Dept. of EECS, UCB | aoki@postgres.Berkeley.EDU | Berkeley, CA 94720 | ...!uunet!ucbvax!aoki ============================================================================== To add/remove yourself to/from the POSTGRES mailing list: send mail with the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU" If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and a human will deal with it. DO NOT post to the "postgres" mailing list. ==============================================================================