Return-Path: owner-postman Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with SMTP id FAA11916 for postgres-redist; Mon, 15 Aug 1994 05:15:20 -0700 Resent-From: POSTGRES mailing list Resent-Message-Id: <199408151215.FAA11916@nobozo.CS.Berkeley.EDU> X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol Sender: owner-postman@postgres.Berkeley.EDU X-Return-Path: owner-postman Received: from cheviot.ncl.ac.uk (cheviot.ncl.ac.uk [128.240.2.10]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with SMTP id FAA11906 for ; Mon, 15 Aug 1994 05:15:18 -0700 Received: from bowes.ncl.ac.uk by cheviot.ncl.ac.uk id (5.65cVUW/NCL-CMA.1.35 for ) with SMTP; Mon, 15 Aug 1994 13:15:12 +0100 From: "David Alan Nelson" Message-Id: Subject: Copy Problem To: postgres@postgres.Berkeley.EDU (Postgres) Date: Mon, 15 Aug 1994 13:15:09 +0100 (BST) Cc: n.s.smith@newcastle.ac.uk (Neville Smith) X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1123 Resent-To: postgres-redist@postgres.Berkeley.EDU Resent-Date: Mon, 15 Aug 94 05:15:19 -0700 Resent-XMts: smtp This is a problem one of out Postgres users is having. He's using Postgres 4.1. Any suggestions? Cheers Dave ----------------------------------------- copy a to "/tmp/nev" ----------------------------------------- from the command line works, "a" has one field "n" of type int4 and the table contains only one record. ========================================= define function squeeky (language = "postquel", returntype = int4) as " copy a to \\"/tmp/nev\\" retrieve (x = 1) " \g (note no warnings/syntax errors) ========================================= called using: retrieve (x = squeeky()) \g ========================================= takes the system down, that is the bugger locks and you CTRL-C out of it. Waited for around 5 mins, but the query didn't terminate. There are no rewrite rules, no instance rules, no other classes, and no other functions. (or anything else for that matter) Note that the directory used is readable and writable by both postgres and myself. -- Mail ID : D.A.Nelson@newcastle.ac.uk Computing Science, University of Newcastle upon Tyne, UK. (091) 222 8789 ============================================================================== 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. ==============================================================================