Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f6ALWna22661 for ; Tue, 10 Jul 2001 17:32:49 -0400 (EDT) (envelope-from pgsql-docs-owner@postgresql.org) Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f65JTSa68508 for ; Thu, 5 Jul 2001 15:29:28 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id f65JLep16444 for pgsql-docs@postgresql.org; Thu, 5 Jul 2001 15:21:40 -0400 (EDT) (envelope-from news) From: "Vijayanath" X-Newsgroups: comp.databases.postgresql.docs Subject: write the output from a function to the a file Date: Thu, 5 Jul 2001 14:19:23 -0500 Organization: Weboffice Lines: 14 Message-ID: <9i2eo1$g1p$1@news.tht.net> Reply-To: "Vijayanath" X-Complaints-To: scrappy@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 To: pgsql-docs@postgresql.org X-Archive-Number: 200107/16 X-Sequence-Number: 865 Hi, Can I write a function that can write the output to the OS(Linux OS) file. If there is a way to do it in Postgresql I would be great. We are using Postgresql 7.1 running in Linux Redhat 7.1. Thanks in Advance. Vijay