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 It would be great. We are using Postgresql 7.1 running in Linux Redhat 7.1. Thanks in Advance. Vijay ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]