summaryrefslogtreecommitdiff
path: root/config.php.in
blob: 6e625663c310c8b5f97626119c8efa9bdd87c76c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php

///////////////////////////////////////////////////////////////////////////////
//
// pgPhoneHome - Postgres Monitor for iPhone
// Copyright 2008, EnterpriseDB UK Ltd.
// Dave Page (dave.page@enterprisedb.com)
//
// config.php - Installation configuration settings
//
///////////////////////////////////////////////////////////////////////////////

// Specify the databases to connect to. These live in a multi-dimensional array
// and must include the description and connstr values. Eg:
//
// $servers[1]["description"] = "Development";
// $servers[1]["connstr"] = "host=localhost dbname=postgres user=postgres";
// $servers[1]["icon"] = "images/pg.png";
//
// $servers[2]["description"] = "Production";
// $servers[2]["connstr"] = "hostaddr=192.168.0.23 port=5444 dbname=pgphonehome user=pgphonehome password=FuBar";
// $servers[2]["icon"] = "images/pg.png";

// The following configuration options will not normally need to be changed.

// The maximum size of a value that the query tool will display in characters.
// Values longer than this will be truncated.
$GLOBALS['config_max_field_size'] = 256;

// The number of records to load at a time in the query tool
$GLOBALS['config_query_batch_size'] = 25;

// The maximum number of rows to return in the query tool. This is a safety net
// to prevent webserver (and iPhone) resources being completely exhausted.
$GLOBALS['config_max_result_rows'] = 1000;

?>