pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jan Wieck <JanWieck@Yahoo.com>
To: R Vijayanath <vijayanath@Yahoo.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: can we write to a flat file from Postgresql procedure
Date: Wed, 11 Jul 2001 08:36:09 -0400 (EDT)
Message-ID: <200107111236.f6BCa9219642@jupiter.us.greatbridge.com> (raw)
In-Reply-To: <20010705153407.12401.qmail@web14601.mail.yahoo.com>

R Vijayanath wrote:
> Hi,
>
> I found your name in the Postgresql web site.
>
> It would be great if you can tell me if I can write a
> procedure that can write the output to the OS(Linux
> OS) file.
>
> Can you assist me on this if there is a way to do it.
>
> We are using Postgresql 7.1 running in Linux Redhat
> 7.1.

    In  version  7.1  is  a  procedural language PL/TclU. It's an
    unrestricted (and thus untrusted) version of PL/Tcl. Meaning,
    since  it's  possible  to do any sort of OS level access from
    within the backend under  the  postgres  UNIX  user-ID,  only
    Postgres superusers can create functions in that language.

    That's  the  only  choice other than C you have. There are no
    plans yet to modify PL/pgSQL in that direction.

>
> Thanks in Advance.

    You're welcome.


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




view thread (7+ messages)  latest in thread

Message-ID: <200107111236.f6BCa9219642@jupiter.us.greatbridge.com>
Permalink:  ../200107111236.f6BCa9219642@jupiter.us.greatbridge.com/
Also on:    postgresql.org/message-id/200107111236.f6BCa9219642@jupiter.us.greatbridge.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: JanWieck@Yahoo.com, vijayanath@Yahoo.com
  Subject: Re: can we write to a flat file from Postgresql procedure
  In-Reply-To: <200107111236.f6BCa9219642@jupiter.us.greatbridge.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox