$conf['servers'][<%= index %>]['desc'] = '<%= cluster[0] %>'; $conf['servers'][<%= index %>]['host'] = '127.0.0.1'; $conf['servers'][<%= index %>]['port'] = <%= cluster[1][:port] %>; $conf['servers'][<%= index %>]['sslmode'] = 'allow'; $conf['servers'][<%= index %>]['defaultdb'] = 'template1'; $conf['servers'][<%= index %>]['pg_dump_path'] = '/usr/lib/postgresql/<%= cluster[1][:version] %>/bin/pg_dump'; $conf['servers'][<%= index %>]['pg_dumpall_path'] = '/usr/lib/postgresql/<%= cluster[1][:version] %>/bin/pg_dumpall'; $conf['servers'][<%= index %>]['slony_support'] = false; $conf['servers'][<%= index %>]['slony_sql'] = ''; <% end -%> // Example of groups definition. // Groups allow administrators to logicaly group servers together under group nodes in the left browser tree // // The group '0' description //$conf['srv_groups'][0]['desc'] = 'group one'; // // Add here servers indexes belonging to the group '0' seperated by comma //$conf['srv_groups'][0]['servers'] = '0,1,2'; // // A server can belong to multi groups //$conf['srv_groups'][1]['desc'] = 'group two'; //$conf['srv_groups'][1]['servers'] = '3,1'; // Default language. E.g.: 'english', 'polish', etc. See lang/ directory // for all possibilities. If you specify 'auto' (the default) it will use // your browser preference. $conf['default_lang'] = 'auto'; // AutoComplete uses AJAX interaction to list foreign key values // on insert fields. It currently only works on single column // foreign keys. You can choose one of the following values: // 'default on' enables AutoComplete and turns it on by default. // 'default off' enables AutoComplete but turns it off by default. // 'disable' disables AutoComplete. $conf['autocomplete'] = 'default on'; // If extra login security is true, then logins via phpPgAdmin with no // password or certain usernames (pgsql, postgres, root, administrator) // will be denied. Only set this false once you have read the FAQ and // understand how to change PostgreSQL's pg_hba.conf to enable // passworded local connections. $conf['extra_login_security'] = true; // Only show owned databases? // Note: This will simply hide other databases in the list - this does // not in any way prevent your users from seeing other database by // other means. (e.g. Run 'SELECT * FROM pg_database' in the SQL area.) $conf['owned_only'] = false; // Display comments on objects? Comments are a good way of documenting // a database, but they do take up space in the interface. $conf['show_comments'] = true; // Display "advanced" objects? Setting this to true will show // aggregates, types, operators, operator classes, conversions, // languages and casts in phpPgAdmin. These objects are rarely // administered and can clutter the interface. $conf['show_advanced'] = false; // Display "system" objects? $conf['show_system'] = false; // Display reports feature? For this feature to work, you must // install the reports database as explained in the INSTALL file. $conf['show_reports'] = true; // Database and table for reports $conf['reports_db'] = 'phppgadmin'; $conf['reports_schema'] = 'public'; $conf['reports_table'] = 'ppa_reports'; // Only show owned reports? // Note: This does not prevent people from accessing other reports by // other means. $conf['owned_reports_only'] = false; // Minimum length users can set their password to. $conf['min_password_length'] = 1; // Width of the left frame in pixels (object browser) $conf['left_width'] = 200; // Which look & feel theme to use $conf['theme'] = 'default'; // Show OIDs when browsing tables? $conf['show_oids'] = false; // Max rows to show on a page when browsing record sets $conf['max_rows'] = 30; // Max chars of each field to display by default in browse mode $conf['max_chars'] = 50; // Send XHTML strict headers? $conf['use_xhtml_strict'] = false; // Base URL for PostgreSQL documentation. // '%s', if present, will be replaced with the PostgreSQL version // (e.g. 8.4 ) $conf['help_base'] = 'http://www.postgresql.org/docs/%s/interactive/'; // Configuration for ajax scripts // Time in seconds. If set to 0, refreshing data using ajax will be disabled (locks and activity pages) $conf['ajax_refresh'] = 3; /***************************************** * Don't modify anything below this line * *****************************************/ $conf['version'] = 19; ?>