PhpPgAdmin configuration file parameter description

Source: Internet
Author: User
Tags unix domain socket postgresql version

Copy codeThe Code is as follows: <? Php

/**
* Here is the configuration center of phpPgAdmin. You need to modify the settings here according to your actual situation.
*
* $ Id: config. inc. php-dist, v 1.53 2007/04/18 14:08:48 mr-russ Exp $
*/

// A sample server. You can create any number of such servers, with the index increasing from scratch.

// The Name Of The server displayed on the login screen
$ Conf ['servers'] [0] ['desc'] = 'postgresql ';

// Host name or IP address of the server. Use ''for UNIX domain socket ''.
// Use 'localhost' for local TCP/IP links '.
$ Conf ['servers'] [0] ['host'] = '';

// The database connection port on the server (5432 is the default port of PostgreSQL)
$ Conf ['servers'] [0] ['Port'] = 5432;

// SSL link options: disable, allow, prefer, and require)
$ Conf ['servers'] [0] ['sslmode'] = 'allow ';

// Change the default connected database only when you cannot connect to template1.
// For servers of PostgreSQL 8.1 or later versions, set this parameter to 'codecs'
$ Conf ['servers'] [0] ['defaultdb'] = 'template1 ';

// Specify the path of the database dump tool. If no dump tool is available, set it to ''here ''.
$ Conf ['servers'] [0] ['pg _ dump_path'] = '/usr/bin/pg_dump ';
$ Conf ['servers'] [0] ['pg _ dumpall_path '] ='/usr/bin/pg_dumpall ';

// What is supported by Slony (www.slony.info?
$ Conf ['servers'] [0] ['slony _ support'] = false;
// Specify the Slony SQL script location (slony1_base. SQL directory, and so on). do not include the ending slash.
$ Conf ['servers'] [0] ['slony _ SQL '] ='/usr/share/pgsql ';

// The second example server (PostgreSQL for Windows)
// $ Conf ['servers'] [1] ['desc'] = 'test Server ';
// $ Conf ['servers'] [1] ['host'] = '2017. 0.0.1 ';
// $ Conf ['servers'] [1] ['Port'] = 5432;
// $ Conf ['servers'] [1] ['sslmode'] = 'allow ';
// $ Conf ['servers'] [1] ['defaultdb'] = 'template1 ';
// $ Conf ['servers'] [1] ['pg _ dump_path '] = 'C: \\ Program Files \ PostgreSQL \ 8.0 \ bin \ pg_dump.exe ';
// $ Conf ['servers'] [1] ['pg _ dumpall_path '] = 'C: \\ Program Files \ PostgreSQL \ 8.0 \ bin \ pg_dumpall.exe ';
// $ Conf ['servers'] [1] ['slony _ support'] = false;
// $ Conf ['servers'] [1] ['slony _ SQL '] = 'C: \ Program Files \ PostgreSQL \ 8.0 \ share ';

// Default language, for example: 'English ', 'Chinese-sim-utf8', 'Chinese-tr', see the lang/directory to get all available languages.
// If you set it to 'auto' (default value), it will be selected based on your browser's preferences.
$ Conf ['default _ lang'] = 'auto ';

// Automatically complete the listing of foreign key options that use ajax technology to interact with Inserted fields.
// Currently, it can only work on a single field foreign key. You can control its behavior through the following settings:
// 'Default on' the auto-completion function is enabled by default.
// 'Default off' allows automatic completion, but is disabled by default.
// 'Disable' completely disables this function
$ Conf ['autocomplete'] = 'default on ';

// Do you want to use secure login?
// If this parameter is set to true, logon without a password will be rejected by phpPgAdmin.
// Similarly, login using one of the users (pgsql, postgres, root, administrator) will also be rejected.
// Set this parameter to false only when you understand how to change pg_cmd.conf to force password protection for local connections.
$ Conf ['extra _ login_security '] = true;

// Do I only display the databases owned by the Login User?
// Note: This simply hides other databases from the list,
// It does not prevent users FROM using other methods to access other databases (such as running 'select * FROM pg_database ')
$ Conf ['owned _ only'] = false;

// Do you want to display object comments?
// Database annotations are very useful, but they occupy a lot of interface space.
$ Conf ['show _ comments'] = true;

// Is the "advanced" Object displayed?
// If this parameter is set to true, types, operators conversions, ages, and casts are displayed.
// These objects seldom need to be managed, and the interface is often messy.
$ Conf ['show _ advanced '] = false;

// Do you want to display "system" objects?
$ Conf ['show _ system'] = false;

// Do you want to display the reports feature?
// To make this feature work properly, you must follow the instructions in the INSTALL file to INSTALL the reports database.
$ Conf ['show _ reports '] = true;

// Databases and tables for reports
$ Conf ['Reports _ db'] = 'phppgadmin ';
$ Conf ['Reports _ scheme'] = 'public ';
$ Conf ['Reports _ table'] = 'ppa _ report ';

// Only display the reports owned by the Login User?
// Note: it does not prevent users from using other methods to access other reports databases.
$ Conf ['owned _ reports_only '] = false;

// Minimum allowed password length
$ Conf ['min _ password_length '] = 1;

// Pixel width of the Left frame (Object Browser)
$ Conf ['left _ width'] = 200;

// Which interface style is used?
$ Conf ['Theme '] = 'default ';

// Do you want to display the OID when browsing the table?
$ Conf ['show _ oids '] = false;

// Maximum number of lines displayed on each page when browsing a set of records
$ Conf ['max _ rows '] = 30;

// By default, the maximum number of characters displayed for each field during browsing
$ Conf ['max _ chars'] = 50;

// Do you want to send the XHTML header?
$ Conf ['use _ xhtml_strict '] = false;

// Reference URL of the PostgreSQL document
// If '% s' exists, it will be replaced by the PostgreSQL version number (7, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2)
$ Conf ['help _ base'] = 'HTTP: // www.postgresql.org/docs/%s/interactive /';

/*************************************** **
*!! Do not modify the content after this line !! *
**************************************** */

$ Conf ['version'] = 19;

?>

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.