Sandro Santilli
7218c89b2d
Refactor PSQL model to take full db config in the constructor
...
Closes #58 , stops reading configuration variables itself
2013-11-18 11:42:43 +01:00
Sandro Santilli
8d2347af99
Make public PostgreSQL user name a configuration parameter
...
Closes #56 .
Updates documentation and tests and example config files
2013-11-05 17:49:10 +01:00
Sandro Santilli
5e379012a8
Add support for CTE in sql windowing, add unit tests
...
This is still an undocumented feature, but as long as it's present
and used (by cartodb UI) better tested than broken...
NOTE: more tests are needed for CTE and RETURNING queries
2013-06-17 16:36:36 +02:00
Sandro Santilli
167e1e1b51
Drop calls to deprecated PSQL.end()
2012-09-04 12:31:50 +02:00
Sandro Santilli
e4f3a94256
Port tests to mocha. Closes #35 .
2012-07-13 10:29:09 +02:00
Simon Tokumine
aa1e306881
formatting and semi colons
2012-06-01 21:12:29 +01:00
Simon Tokumine
7c15a1218a
remove redundant test"
2012-06-01 21:09:38 +01:00
Simon Tokumine
9e411425b3
formatting and semi colons
2012-06-01 21:07:22 +01:00
Simon Tokumine
dae217cec7
psql units passing
2012-06-01 20:50:09 +01:00
Simon Tokumine
5064ded0e7
upgraded pg package. tests updated
2011-09-07 15:33:40 +01:00
Simon Tokumine
082807695c
updated error messages
2011-08-25 11:15:52 +01:00
Simon Tokumine
ce4413cbda
added body_hash to oauth check and stopped firing exception if incomplete oauth variables sent
2011-08-22 13:33:12 +01:00
Simon Tokumine
f47c611dfc
added redis pool, and fixed to use pg_bouncer
2011-06-16 18:23:38 +02:00
Fernando Blat
21277ff9d2
Introduced a new parameter db_port to change it in a easy way
...
Some space and linebreaks cleaning
2011-06-13 12:31:50 +02:00
Simon Tokumine
bcd56de458
first draft, tidied, unit tests, modules, refactor, environments, see TODO for next steps"
2011-06-13 04:23:02 +01:00