Re: Very Large text file parsing
| From: | Paul Scott | Date: | Fri, 21 Sep 2007 05:12:25 +0000 |
| Subject: | Re: Very Large text file parsing | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-262320@lists.php.net to get a copy of this message | ||
On Thu, 2007-09-20 at 09:54 -0300, Martin Marques wrote:
> If not, you should just use the COPY command of PostgreSQL (you are
> using PostgreSQL if I remember correctly) or simply do a bash script
> using psql and the \copy command.
>
Unfortunately, this has to work on all supported RDBM's - so using
postgres or mysql specific functions are not really an option. What I am
trying though, is to add a function to do batch inserts as per Rob's
suggestion into our database abstraction layer, which may help things a
bit.
Thanks
--Paul