Set default PostgreSQL application name to "cartodb_tiler"

This commit is contained in:
Sandro Santilli 2014-05-07 16:19:22 +02:00
parent 8e9d72982a
commit 49829f8935
3 changed files with 9 additions and 0 deletions

View File

@ -6,6 +6,10 @@ New features:
- Add support for log_filename directive
- Reopen log file on SIGHUP, for better logrotate integration
Enhancements:
- Set default PostgreSQL application name to "cartodb_tiler"
1.10.2 -- 2014-04-08
--------------------

View File

@ -11,6 +11,9 @@ var _ = require('underscore')
, os = require('os')
;
if ( ! process.env['PGAPPNAME'] )
process.env['PGAPPNAME']='cartodb_tiler';
var CartodbWindshaft = function(serverOptions) {
var debug = global.environment.debug;

View File

@ -5,6 +5,8 @@ OPT_CREATE_PGSQL=yes # create the PostgreSQL test environment
OPT_DROP_REDIS=yes # drop the redis test environment
OPT_DROP_PGSQL=yes # drop the PostgreSQL test environment
export PGAPPNAME=cartodb_tiler_tester
cd $(dirname $0)
BASEDIR=$(pwd)
cd -