- Add optional timeout parameter to
PGSQL.query
.
- Include host and port in the dbkey, so that type cache is recomputed upon migration #39
- Add support for Node.js 10
- Add package-lock.json
.end()
accepts callback
- Add
psql.typeModInfo(typmod)
- Use node-postgres to
6.4.2-cdb1
.
- Upgrade debug to 3.x.
- Upgrade node-postgres to 6.1.6-cdb1.
- Remove check for SET statements.
- Expose
pg.end
#26.
- Remove
destroyOnError
option as we need to always destroy on error #22. - Remove
window_sql
function.
- Remove maxRowSize after query ends or errors #15.
- Upgrades pg to 6.1.2-cdb1.
- Upgrade dev dependencies.
- Replace comments with a single space #9.
- Use debug module to not output to stdout by default
- Updates types from pg_type.h (#1)
- New
destroyOnError
option to remove clients from pool after a query fails - Discourages node 0.8.x
- Upgrades pg to 2.6.2-cdb3: keep alive set on socket connect
- Allow to specify keep-alive config via global.settings.db_keep_alive (#3)
- It requires to use config as object
- Connection config can be an object or a connectionString
- Propagate db_max_row_size from global settings to pg default's maxRowSize Allows to set the max length in bytes for a row
- Have PGSQL.query take an optional third argument to request read-only See CartoDB/Windshaft#130
- Send 500 status and better error message on db connection error
- Allow to use PSQL class with default libpq parameters
- Changes pg version to emit end event on close connection event
- Adds support for cancel a query, extracts functionality from CartoDB-SQL-API
- Changes to pick pool configuration from global settings if they exist
- Initial release
- Porting from CartoDB-SQL-API