2011/3/29 John Robson <[email protected]>
> I have a file.txt with 10,000 rows, each row contains data separated by
> commas. I treat every line and save in PostgreSQL.
>
Do you need to load it once (initially) or you need you load
it dynamically from the application at runtime ?
>
> I do know this*, but I am inserting row by row in postgres, I wonder if
> there is any command to insert (for example) an integer vector on pg.
>
> *
> while (...) {
> Transaction tt(session);
> ptr<Registers> ptrS = session.add(registers);
> tt.commit();
> }
>
> I wonder if:
>
> Transaction tt(session);
> ptr<Registers> ptrS = session.add(vector<registers>);
> tt.commit();
>
> On 03/29/2011 02:07 AM, Dmitriy Igrishin wrote:
> > What the purpose: just for testing once, or maybe you are writing a data
> > generator, or it is a project requirement? What does the "magic" value
> 10000
> > means?
>
>
>
>
> ------------------------------------------------------------------------------
> 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
>
--
// Dmitriy.
------------------------------------------------------------------------------
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