Phppgadmin configuration file parameter Chinese version

Source: Internet
Author: User
Tags postgresql version
  1. /**
  2. * This is the Phppgadmin configuration center. Users need to modify the settings here according to their actual situation.
  3. *
  4. * $Id: Config.inc.php-dist,v 1.53 2007/04/18 14:08:48 Mr-russ EXP $
  5. */bbs.it-home.org
  6. A sample server. You can build any number of these servers, and the index increments from zero.
  7. Name of the server displayed on the login screen
  8. $conf [' Servers '][0][' desc '] = ' PostgreSQL ';
  9. The host name or IP address of the server. For UNIX domain sockets, use '.
  10. For local TCP/IP links, use ' localhost '.
  11. $conf [' Servers '][0][' host '] = ';
  12. Database link port for server (5432 is the default port for PostgreSQL)
  13. $conf [' Servers '][0][' port '] = 5432;
  14. SSL Link Options: Disable (Forbidden), allow (allowed), prefer (preferred), require (required)
  15. $conf [' Servers '][0][' sslmode '] = ' allow ';
  16. Change the database that is linked by default only when you cannot connect to template1.
  17. For PostgreSQL 8.1 or more servers, you need to set this to ' Postgres '
  18. $conf [' Servers '][0][' defaultdb '] = ' template1 ';
  19. Specifies the path to the database dump tool. If no dump tool is available, please set this to '.
  20. $conf [' Servers '][0][' pg_dump_path '] = '/usr/bin/pg_dump ';
  21. $conf [' Servers '][0][' pg_dumpall_path '] = '/usr/bin/pg_dumpall ';
  22. Using Slony (www.slony.info) support?
  23. $conf [' Servers '][0][' slony_support '] = false;
  24. Specify the location of the Slony SQL script (Slony1_base.sql directory, and so on), and do not include the trailing slash
  25. $conf [' Servers '][0][' slony_sql '] = '/usr/share/pgsql ';
  26. Second example server (PostgreSQL for Windows)
  27. $conf [' Servers '][1][' desc '] = ' Test Server ';
  28. $conf [' Servers '][1][' host '] = ' 127.0.0.1 ';
  29. $conf [' Servers '][1][' port '] = 5432;
  30. $conf [' Servers '][1][' sslmode '] = ' allow ';
  31. $conf [' Servers '][1][' defaultdb '] = ' template1 ';
  32. $conf [' Servers '][1][' pg_dump_path '] = ' c:\\program Files\\postgresql\\8.0\\bin\\pg_dump.exe ';
  33. $conf [' Servers '][1][' pg_dumpall_path '] = ' c:\\program Files\\postgresql\\8.0\\bin\\pg_dumpall.exe ';
  34. $conf [' Servers '][1][' slony_support '] = false;
  35. $conf [' Servers '][1][' slony_sql '] = ' c:\\program Files\\postgresql\\8.0\\share ';
  36. The default language, for example: ' English ', ' Chinese-sim-utf8 ', ' chinese-tr ', see the lang/directory for all available languages.
  37. If you set it to ' auto ' (the default), it will be selected based on your browser's preferences.
  38. $conf [' default_lang '] = ' auto ';
  39. Auto-complete lists foreign key options that use AJAX technology to interact on the Insert field.
  40. Currently it can only work on a single field foreign key. You can control its behavior with the following settings:
  41. ' Default on ' enabled auto-complete
  42. ' Default off ' allows auto-completion, but not enabled by default
  43. ' Disable ' completely disables this feature
  44. $conf [' autocomplete '] = ' default on ';
  45. Do you use secure login?
  46. If this is set to true, then login without a password will be rejected by Phppgadmin.
  47. Similarly, logging in using one of the users (Pgsql, Postgres, root, Administrator) will also be rejected.
  48. You can set this to false only if you understand how to change pg_hba.conf to enforce a password-protected local link.
  49. $conf [' extra_login_security '] = true;
  50. Do you want to show only the databases owned by the logged-on user?
  51. Note: This is simply a matter of hiding the other databases in the list.
  52. It does not prevent users from using other methods to access other databases (such as running ' SELECT * from Pg_database ')
  53. $conf [' owned_only '] = false;
  54. Do you want to show comments for an object?
  55. Database annotations are very useful, but they do take up a lot of interface space.
  56. $conf [' show_comments '] = true;
  57. Do you want to display the Advanced object?
  58. Set this to true to show types, operators conversions, languages, casts
  59. These objects rarely need to be managed and often mess up the interface.
  60. $conf [' show_advanced '] = false;
  61. Do you want to display the system object?
  62. $conf [' show_system '] = false;
  63. Do you want to display the reports feature?
  64. In order for this feature to work properly, you must install the reports database as instructed by the install file.
  65. $conf [' show_reports '] = true;
  66. Databases and tables for reports
  67. $conf [' reports_db '] = ' phppgadmin ';
  68. $conf [' reports_schema '] = ' public ';
  69. $conf [' reports_table '] = ' ppa_reports ';
  70. Do you only show the reports owned by the logged-on user?
  71. Note: It does not prevent users from using other methods to access other reports databases.
  72. $conf [' owned_reports_only '] = false;
  73. Minimum length of password to allow user to set
  74. $conf [' min_password_length '] = 1;
  75. Pixel width of the left frame (Object Browser)
  76. $conf [' left_width '] = 200;
  77. What kind of interface style do you use?
  78. $conf [' theme '] = ' default ';
  79. Do you want the OID to be displayed while browsing the table?
  80. $conf [' show_oids '] = false;
  81. The maximum number of rows displayed per page when browsing a collection of records
  82. $conf [' max_rows '] = 30;
  83. Maximum number of characters per field displayed by default when browsing
  84. $conf [' max_chars '] = 50;
  85. Do you want to send XHTML headers?
  86. $conf [' use_xhtml_strict '] = false;
  87. Base URL for PostgreSQL document
  88. If the presence '%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)
  89. $conf [' help_base '] = ' http://www.postgresql.org/docs/%s/interactive/';
  90. /*****************************************
  91. * !! Please do not modify the content after the bank!! *
  92. *****************************************/
  93. $conf [' version '] = 19;
  94. ?>
Copy Code
  • 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.