Commit Graph

974 Commits

Author SHA1 Message Date
Raul Ochoa
d42e5a6b75 Do not expose remove from pool after query error as a config option 2015-08-04 16:23:36 +02:00
Raul Ochoa
7c696317d0 New option to remove client from pool after error happens
This help to avoid issues with transactions.

Closes #241
2015-08-04 15:53:50 +02:00
Raul Ochoa
219dfe5ecd Merge pull request #242 from CartoDB/upgrade-cartodb-psql
Upgrades cartodb-psql to 0.6.0
2015-08-04 15:45:28 +02:00
Raul Ochoa
bb2cf83ff6 Upgrades cartodb-psql to 0.6.0 2015-08-04 15:35:31 +02:00
Raul Ochoa
8db6b88853 Update CDB_QueryTables to match current spec 2015-08-04 14:45:14 +02:00
Andrew Thompson
bd822900c1 Add doc Q&A about SQL injection and Postgres users 2015-07-27 19:29:59 -04:00
Raul Ochoa
283572c535 Stubs next version 2015-06-16 17:36:26 +02:00
Raul Ochoa
050a3addd3 Release 1.23.0 2015-06-16 17:35:09 +02:00
Raul Ochoa
62e7e1634f Use in memory sqlite databases for spatialite tests 2015-06-16 17:33:04 +02:00
Raul Ochoa
afdb385fcf Bumps versions for new SpatiaLite feature 2015-06-16 17:19:57 +02:00
Raul Ochoa
b0be80c622 Merge pull request #233 from CartoDB/undo-ogr-fake-tables
Undo ogr fake tables
2015-06-16 17:17:31 +02:00
Raul Ochoa
1c35eb057c Update news 2015-06-16 17:01:51 +02:00
Raul Ochoa
a297a14300 Revert "Uses tables ogr2ogr param to avoid heavy query on pg_class and friends"
This reverts commit b6e53f7326.
2015-06-16 16:58:22 +02:00
Raul Ochoa
b122503f67 Fix format 2015-06-16 16:54:07 +02:00
Raul Ochoa
2d197b0f13 Update news with latest PR 2015-06-16 16:53:12 +02:00
Raul Ochoa
a8316d50c1 Merge pull request #232 from CartoDB/ogr2ogr-command-via-config
Ogr2ogr command via config
2015-06-16 16:52:51 +02:00
Raul Ochoa
5dea85ed22 Merge pull request #231 from CartoDB/ogr2ogr-command-via-config
Ogr2ogr command via config
2015-06-16 16:51:14 +02:00
Raul Ochoa
8b6545b2a7 Update news 2015-06-16 16:48:29 +02:00
Raul Ochoa
e12a37328c Keep using ogr2ogr in test example config 2015-06-16 16:45:21 +02:00
Raul Ochoa
c842a3f8a8 Regenerate npm-shrinkwrap.json 2015-06-16 16:12:45 +02:00
Raul Ochoa
66eb846bfd Try to use ogr2ogr2 from ppa:cartodb/gis 2015-06-16 15:58:33 +02:00
Raul Ochoa
e9dda12ad3 Adds tests for big results in ogr formats 2015-06-16 15:54:13 +02:00
Raul Ochoa
93e965af29 Makes ogr2ogr command configurable so it's possible to change path/bin 2015-06-16 15:53:33 +02:00
Francisco Dans
d1db897699 Merge pull request #228 from CartoDB/spatialite
Adds SpatiaLite as export format
2015-06-03 16:02:16 +02:00
Francisco Dans
f34e010785 uses concat instead of looping 2015-06-03 15:32:20 +02:00
Francisco Dans
fdb946ed8f adds spatialite as export format in the api docs 2015-06-03 12:33:19 +02:00
Francisco Dans
e57f2e7219 specifies spatialite spec in the formatter 2015-06-03 12:10:57 +02:00
Francisco Dans
dfa18f7c11 checks if there are command params provided by the specific exporter 2015-06-03 12:09:48 +02:00
Francisco Dans
59d93aeb57 removes only from test call 2015-06-01 17:17:05 +02:00
Francisco Dans
5140aaa132 actually uses variable... 2015-06-01 16:48:27 +02:00
Francisco Dans
61ef29a02d puts SPATIALITE command option in SpatialiteFormat model 2015-06-01 16:33:04 +02:00
Francisco Dans
3a8f94641b Merge pull request #225 from CartoDB/log-addr
Uses :remote-addr instead of :req[X-Real-IP]
2015-06-01 16:17:47 +02:00
Francisco Dans
fc30771879 adds couple more tests 2015-06-01 15:16:05 +02:00
Francisco Dans
6e9eb9f43f adds sqlite3 as dev dep 2015-06-01 13:21:17 +02:00
Francisco Dans
2363b87b61 adds acc test for sqlite 2015-06-01 13:20:51 +02:00
Francisco Dans
f3bdddf123 forces spatialite if sqlite is passed as format 2015-05-29 15:25:19 +02:00
Francisco Dans
44be0ea1b7 adds spatialite export model 2015-05-29 15:24:50 +02:00
Francisco Dans
cebc568ca8 uses remote-addr in example configurations 2015-05-26 19:19:37 +02:00
Francisco Dans
996bd971cd replaces default log format string to remote-addr 2015-05-26 19:18:54 +02:00
Raul Ochoa
d052850cc9 Stubs next version 2015-05-26 10:19:47 +02:00
Raul Ochoa
2b1b008104 Release 1.22.2 2015-05-26 10:17:56 +02:00
Raul Ochoa
faf41f8505 Merge pull request #223 from CartoDB/issue-204
Avoid timeouts when ogr2ogr queries pg_* catalog
2015-05-25 17:27:16 +02:00
Raul Ochoa
debeb8ca3e Update news 2015-05-25 16:38:07 +02:00
Raul Ochoa
b6e53f7326 Uses tables ogr2ogr param to avoid heavy query on pg_class and friends
Fixes #204
Newer versions of ogr2ogr don't use that heavy query so it should work
Ref 2e3eeefd0f
2015-05-25 16:29:18 +02:00
Raul Ochoa
db03235c4a Stubs next version 2015-05-14 13:18:58 +02:00
Raul Ochoa
41de50b8f6 Release 1.22.1 2015-05-14 13:10:36 +02:00
Raul Ochoa
7d62b60945 Merge pull request #222 from CartoDB/issue-219
Closes stream responses on error
2015-05-13 18:40:40 +02:00
Raul Ochoa
b29933f96e Closes stream responses on error
fixes #219
2015-05-13 18:15:38 +02:00
Raul Ochoa
f60cb68b6a Merge pull request #221 from CartoDB/formats
Format files split into pg and ogr directories
2015-05-13 16:02:05 +02:00
Raul Ochoa
6bb3ccbe1e Format files split into pg and ogr directories 2015-05-13 15:15:53 +02:00