On 2011.03.29 11:31, John Robson wrote:
> On 03/29/2011 12:09 PM, Jack wrote:
> > Is there any reason this needs to be done within your Wt  
> application?
> > Especially if this is for initial population of the database, there  
> is
> > probably a PostgreSQL utility to do a bulk load, which would likely  
> be
> > much more efficient.
> 
> Im developing a Web Application to receive files (upload), handle the
> contents of each row (int, float, double, datetime, etc ...) and
> populate PostgreSQL.
> 
> On 03/29/2011 12:12 PM, Dmitriy Igrishin wrote:
> > Do you need to load it once (initially) or you need you load
> > it dynamically from the application at runtime ?
> 
> I need to insert many files all the time.

I still wonder if it would be more efficient to call the bulk insert  
utility from the app (I assume Wt has a "system" type call, though I  
haven't looked.)  However, I agree this wouldn't be best if you are  
going to filter/validate the data before inserting.
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to