Script for reading flat file without delimiters - Mailing list pgsql-general

From Mehdi Aboulkassim
Subject Script for reading flat file without delimiters
Date
Msg-id 20060629131003.80570.qmail@web27705.mail.ukl.yahoo.com
Whole thread Raw
Responses Re: Script for reading flat file without delimiters  (Tino Wildenhain <tino@wildenhain.de>)
Re: Script for reading flat file without delimiters  (Michael Fuhr <mike@fuhr.org>)
List pgsql-general
Hy everybody,
 
I have to write a function that takes a flat file name in parameter and load a table with the file information.
 
I think that it has to read the file line per line and parse each one to retreive each column data.
 
There is NO DELIMITERS between fields.
 
Can someone help.
 
Thanks in advance.


Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international. Téléchargez la version beta.

pgsql-general by date:

Previous
From: "Nikolay Samokhvalov"
Date:
Subject: Re: PHPpgadmin and user privileges
Next
From: Tino Wildenhain
Date:
Subject: Re: Script for reading flat file without delimiters