Re: PL/PGSQL and external (flat ASCII) files - Urgent ... :)

From: Wei Weng <wweng(at)kencast(dot)com>
To: Chris Ruprecht <chrup999(at)yahoo(dot)com>
Cc: p-sql <pgsql-sql(at)postgresql(dot)org>
Subject: Re: PL/PGSQL and external (flat ASCII) files - Urgent ... :)
Date: 2001-07-17 21:59:11
Message-ID: 995407162.31302.0.camel@Monet
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Grant 2001-07-17 22:33:02 Re: [SQL] epoch to show millseconds
Previous Message Peter Eisentraut 2001-07-17 21:08:10 Re: PL/PGSQL and external (flat ASCII) files - Urgent ... :)