Re: PL/PGSQL and external (flat ASCII) files - Urgent ... :) - Mailing list pgsql-sql

From Wei Weng
Subject Re: PL/PGSQL and external (flat ASCII) files - Urgent ... :)
Date
Msg-id 995407162.31302.0.camel@Monet
Whole thread Raw
In response to PL/PGSQL and external (flat ASCII) files - Urgent ... :)  ("Chris Ruprecht" <chrup999@yahoo.com>)
List pgsql-sql
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.




pgsql-sql by date:

Previous
From: "Robby Slaughter"
Date:
Subject: RE: PL/PGSQL and external (flat ASCII) files - Urgent ... :)
Next
From: Tom Lane
Date:
Subject: Re: PL/PGSQL and external (flat ASCII) files - Urgent ... :)