Script for reading flat file without delimiters

From: Mehdi Aboulkassim <mehdi10ab(at)yahoo(dot)fr>
To: pgsql-general(at)postgresql(dot)org
Subject: Script for reading flat file without delimiters
Date: 2006-06-29 13:10:03
Message-ID: 20060629131003.80570.qmail@web27705.mail.ukl.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tino Wildenhain 2006-06-29 13:25:06 Re: Script for reading flat file without delimiters
Previous Message Nikolay Samokhvalov 2006-06-29 13:03:59 Re: PHPpgadmin and user privileges