pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Wei Weng <wweng@kencast.com>
To: Chris Ruprecht <chrup999@yahoo.com>
Cc: p-sql <pgsql-sql@postgresql.org>
Subject: Re: PL/PGSQL and external (flat ASCII) files - Urgent ... :)
Date: 17 Jul 2001 17:59:11 -0400
Message-ID: <995407162.31302.0.camel@Monet> (raw)
In-Reply-To: <015e01c10eff$0ea18400$5dd26383@corp.compucom.com>
References: <015e01c10eff$0ea18400$5dd26383@corp.compucom.com>

You can probably try to make a c extension that does open/close.

On 17 Jul 2001 15:28:36 -0500, Chris Ruprecht wrote:
> Hi all,
> 
> I need to know how I can access a flat file from within a PL/PGSQL script.
> I have an Oracle PL/SQL book here and they refer to FOPEN(...), FCLOSE(...)
> but these functions don't seem to exist in PL/PGSQL.. What can I do instead?
> I checked the Programmer's Guide to Procedural Languages (PostGreSQL 7.1.2
> and 7.2) but there is no info on it.
> 
> Best regards,
> Chris
> 
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
> http://www.postgresql.org/search.mpl
> 

-- 
Wei Weng
Network Software Engineer
KenCast Inc.





view thread (10+ messages)  latest in thread

Message-ID: <995407162.31302.0.camel@Monet>
Permalink:  ../995407162.31302.0.camel@Monet/
Also on:    postgresql.org/message-id/995407162.31302.0.camel@Monet

 · 

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: wweng@kencast.com, chrup999@yahoo.com
  Subject: Re: PL/PGSQL and external (flat ASCII) files - Urgent ... :)
  In-Reply-To: <995407162.31302.0.camel@Monet>

* 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