Set default PostgreSQL application name to "cartodb_sqlapi"

This commit is contained in:
Sandro Santilli 2014-05-07 16:14:17 +02:00
parent fa94cc5718
commit 51b135c0ac
3 changed files with 5 additions and 0 deletions

View File

@ -9,6 +9,7 @@ Enhancements:
* Stream JSON responses
* Pre-compiling may write regex
* Set default PostgreSQL application name to "cartodb_sqlapi"
Bug fixes:

View File

@ -15,6 +15,9 @@
//
//
if ( ! process.env['PGAPPNAME'] )
process.env['PGAPPNAME']='cartodb_sqlapi_XXX';
function App() {
var path = require('path');

View File

@ -2,6 +2,7 @@
# To make output dates deterministic
export TZ='Europe/Rome'
export PGAPPNAME='cartodb_sqlapi_tester'
OPT_CREATE_PGSQL=yes # create/prepare the postgresql test database
OPT_CREATE_REDIS=yes # create/prepare the redis test databases