Set default PostgreSQL application name to "cartodb_sqlapi"
This commit is contained in:
parent
fa94cc5718
commit
51b135c0ac
1
NEWS.md
1
NEWS.md
@ -9,6 +9,7 @@ Enhancements:
|
|||||||
|
|
||||||
* Stream JSON responses
|
* Stream JSON responses
|
||||||
* Pre-compiling may write regex
|
* Pre-compiling may write regex
|
||||||
|
* Set default PostgreSQL application name to "cartodb_sqlapi"
|
||||||
|
|
||||||
Bug fixes:
|
Bug fixes:
|
||||||
|
|
||||||
|
@ -15,6 +15,9 @@
|
|||||||
//
|
//
|
||||||
//
|
//
|
||||||
|
|
||||||
|
if ( ! process.env['PGAPPNAME'] )
|
||||||
|
process.env['PGAPPNAME']='cartodb_sqlapi_XXX';
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
|
|
||||||
var path = require('path');
|
var path = require('path');
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
# To make output dates deterministic
|
# To make output dates deterministic
|
||||||
export TZ='Europe/Rome'
|
export TZ='Europe/Rome'
|
||||||
|
export PGAPPNAME='cartodb_sqlapi_tester'
|
||||||
|
|
||||||
OPT_CREATE_PGSQL=yes # create/prepare the postgresql test database
|
OPT_CREATE_PGSQL=yes # create/prepare the postgresql test database
|
||||||
OPT_CREATE_REDIS=yes # create/prepare the redis test databases
|
OPT_CREATE_REDIS=yes # create/prepare the redis test databases
|
||||||
|
Loading…
Reference in New Issue
Block a user