Phppgadmin configuration File Parameter Description Chinese version _postgresql

Source: Internet
Author: User
Tags postgresql password protection postgresql version

Copy Code code as follows:
<?php

/**
* This is the Phppgadmin configuration center. Users need to modify the settings here according to their actual situation.
*
* $Id: Config.inc.php-dist,v 1.53 2007/04/18 14:08:48 Mr-russ EXP $
*/

A sample server. You can set up any number of such servers, and the index is incremented from zero.

The name of the server displayed on the landing screen
$conf [' Servers '][0][' desc '] = ' PostgreSQL ';

The host name or IP address of the server. For UNIX domain sockets, use the '.
For local TCP/IP links, use ' localhost '.
$conf [' Servers '][0][' host '] = ';

Server's database link port (5432 is the default port for PostgreSQL)
$conf [' Servers '][0][' port '] = 5432;

SSL Link Options: Disable (Forbidden), allow (allowed), prefer (preferred), require (required)
$conf [' Servers '][0][' sslmode '] = ' allow ';

Change the default linked database only when you cannot connect to template1.
For servers with PostgreSQL 8.1, you need to set this here as ' Postgres '
$conf [' Servers '][0][' defaultdb '] = ' template1 ';

Specifies the path to the database dump tool. If no dump tool is available, please set this here to '.
$conf [' Servers '][0][' pg_dump_path '] = '/usr/bin/pg_dump ';
$conf [' Servers '][0][' pg_dumpall_path '] = '/usr/bin/pg_dumpall ';

Using Slony (www.slony.info) support?
$conf [' Servers '][0][' slony_support '] = false;
Specify the location of the Slony SQL script (Slony1_base.sql directory, and so on), do not include a trailing slash
$conf [' Servers '][0][' slony_sql '] = '/usr/share/pgsql ';

Second sample server (PostgreSQL for Windows)
$conf [' Servers '][1][' desc '] = ' Test Server ';
$conf [' Servers '][1][' host '] = ' 127.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 ';

The default language, such as: ' 中文版 ', ' Chinese-sim-utf8 ', ' chinese-tr ', see the lang/directory for all available languages.
If you set it to ' auto ' (the default), it will be selected according to your browser's preferences.
$conf [' default_lang '] = ' auto ';

Automatically completes the list of foreign key options that use AJAX technology to interact on the Insert field.
Currently it works only on the foreign key of a single field. You can control its behavior through the following settings:
' Default on ' defaults to enable AutoComplete
' Default off ' allows the AutoComplete feature, but is not enabled by default
' Disable ' completely disables this feature
$conf [' autocomplete '] = ' default on ';

Do you use secure landing?
If you set this to true, you will be rejected by phppgadmin if you do not use a password to log in.
Similarly, using one of the users (Pgsql, Postgres, Root, Administrator) to log in, will also be rejected.
You can set this to false only if you understand how to change pg_hba.conf to enforce password protection for local links.
$conf [' extra_login_security '] = true;

Do you want to show only the databases owned by the logged-in user?
Note: This is simply hiding other databases in 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 the annotation for the object?
Database annotations are very useful, but they do take up a lot of interface space.
$conf [' show_comments '] = true;

Do you want to display the Advanced object?
Setting this to true will show types, operators conversions, languages, casts
These objects rarely need to be managed, and they often mess up the interface.
$conf [' show_advanced '] = false;

Do you want to display the system object?
$conf [' show_system '] = false;

Do you want to show the reports attribute?
In order for this feature to work correctly, you must install the reports database as directed by the INSTALL file.
$conf [' show_reports '] = true;

Databases and tables for reports
$conf [' reports_db '] = ' phppgadmin ';
$conf [' reports_schema '] = ' public ';
$conf [' reports_table '] = ' ppa_reports ';

Do you want to show only 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;

The minimum length of the password that allows the user to set
$conf [' min_password_length '] = 1;

Pixel width of the left frame (Object Browser)
$conf [' left_width '] = 200;

What kind of 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 rows displayed per page when browsing a collection of records
$conf [' max_rows '] = 30;

Maximum number of characters displayed by default for each field while browsing
$conf [' max_chars '] = 50;

Do you want to send XHTML headers?
$conf [' use_xhtml_strict '] = false;

PostgreSQL the base URL of a document
If the presence of '%s ' will be replaced by the PostgreSQL version number (7, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3)
$conf [' help_base '] = ' http://www.postgresql.org/docs/%s/interactive/';

/*****************************************
* !! Please do not change the content after the bank!! *
*****************************************/

$conf [' version '] = 19;

?>

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.