X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 79F99DB3A4 for ; Fri, 11 Nov 2005 12:09:29 -0400 (AST) 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 03408-05 for ; Fri, 11 Nov 2005 16:09:26 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by svr1.postgresql.org (Postfix) with ESMTP id 69FD1DB127 for ; Fri, 11 Nov 2005 12:09:23 -0400 (AST) Received: from [194.25.154.138] (helo=webserv.wug.de) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis), id 0ML21M-1EabSs0CrD-0001wb; Fri, 11 Nov 2005 17:09:22 +0100 Received: from kretschmer by webserv.wug.de with local (Exim 3.36 #1) id 1EabSr-0002Dd-00 for pgsql-sql@postgresql.org; Fri, 11 Nov 2005 17:09:21 +0100 Date: Fri, 11 Nov 2005 17:09:21 +0100 From: "A. Kretschmer" To: pgsql-sql@postgresql.org Subject: Re: cli in sql? Message-ID: <20051111160921.GC8357@webserv.wug-glas.de> Mail-Followup-To: "A. Kretschmer" , pgsql-sql@postgresql.org References: <5.2.1.1.0.20051111085132.04119120@pop6.sympatico.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.2.1.1.0.20051111085132.04119120@pop6.sympatico.ca> X-DEST: 208 X-MSMail-Priority: High X-Message-Flag: Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect. (Linus Torvalds) X-OS: Linux - weil ich es mir Wert bin! X-Info: registrierter Linux-User 97922 http://counter.li.org User-Agent: mutt-ng 1.5.9i (Linux) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:51ea9561fc3f6d9539a2acd743e4748c X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.409 required=5 tests=[AWL=0.015, MISSING_MIMEOLE=1.394] X-Spam-Score: 1.409 X-Spam-Level: * X-Archive-Number: 200511/105 X-Sequence-Number: 23356 am 11.11.2005, um 8:57:14 -0500 mailte Frank Bax folgendes: > If my database has column containing a filename, can I use sql to present > this filename and datemodified (as output from 'ls -l' or from mtime() > fuction) or *must* it be done after the query in interface such as php or You can use any untrusted procedural language such as plpgperlu or plsh to determine this. HTH, Andreas -- Andreas Kretschmer (Kontakt: siehe Header) Heynitz: 035242/47212, D1: 0160/7141639 GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net === Schollglas Unternehmensgruppe ===