Commit Graph

4 Commits

Author SHA1 Message Date
Chaitanya Dandugula
85eddf7402 Replaced the header tag
// Library: Data

with

// Library: SQL
2018-12-20 14:01:45 +05:30
Aleksmia
e60ece37d4 Feature PosgreSQL copy in (#2529)
* Added unit-test for testing support COPY FROM feature of PostgreSQL

Test try execute simple usage of COPY FROM with batch of data such as std::vector<int>

* Made main logic of feature COPY IN for SQL/PostgreSQL

* Added bulk binding for general types.
* Added support of bulk bindings for user types. For supporting this feature user needs implement
yet another TypeHandler<> for std::vector<T> which contains pointer to SQL::PostgreSQL::Binder in
params instead of SQL::Binder.
* Added yet another test-case for testing usage COPY IN with user types.

Other functionality need implement by developing COPY OUT feature.

* Check with a large number of objects

* Added tests for complex inserting thru std::list<> and std::deque<> by COPY IN mode

* Made feature COPY IN for batches of data like std::list<> and std::deque<>

* Changed spaces to tabs and was a little refactoring

* Fix new line in for-loops
2018-11-27 08:20:29 -06:00
Alex Fabijanic
8f62a2f725 postgres windows fixes 2018-01-18 13:57:07 -06:00
Aleksandar Fabijanic
b49ac67225 Data2sql (#2070)
* remove leftover progen files

* remove Data sources and turn headers into forwards

* add SQL files #2059

* Data2sql: adjust Travis, AppVeyor & Makefiles (#2069)

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* fix header forwarding

* Data2sql: Fixes for complete Travis CI success (#2071)

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* Restore DataFormatException

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* construct RowFilter from RecordSet reference instead of pointer

* pass Container ref instead of ptr to Column

* elimitate g++ warnings

* SQL: remove raw pointers from interfaces #2094; add constness and move ops where appropriate

* tidy up Postgres

* ODBC fixes
2018-01-18 11:29:28 -06:00