[458342f] | 1 | <sect2>
|
---|
| 2 | <title>Contents</title>
|
---|
| 3 |
|
---|
| 4 | <para>The <application>Postgre<acronym>SQL</acronym></application> package contains
|
---|
| 5 | <command>clusterdb</command>,
|
---|
| 6 | <command>createdb</command>,
|
---|
| 7 | <command>createlang</command>,
|
---|
| 8 | <command>createuser</command>,
|
---|
| 9 | <command>dropdb</command>,
|
---|
| 10 | <command>droplang</command>,
|
---|
| 11 | <command>dropuser</command>,
|
---|
| 12 | <command>ecpg</command>,
|
---|
| 13 | <command>initdb</command>,
|
---|
| 14 | <command>initlocation</command>,
|
---|
| 15 | <command>ipcclean</command>,
|
---|
| 16 | <command>pg_config</command>,
|
---|
| 17 | <command>pg_controldata</command>,
|
---|
| 18 | <command>pg_ctl</command>,
|
---|
| 19 | <command>pg_dump</command>,
|
---|
| 20 | <command>pg_dumpall</command>,
|
---|
| 21 | <command>pg_encoding</command>,
|
---|
| 22 | <command>pg_id</command>,
|
---|
| 23 | <command>pg_resetxlog</command>,
|
---|
| 24 | <command>pg_restore</command>,
|
---|
| 25 | <command>postgres</command>,
|
---|
| 26 | <command>postmaster</command>,
|
---|
| 27 | <command>psql</command>,
|
---|
| 28 | <command>vacuumdb</command>,
|
---|
| 29 | <filename class="libraryfile">libecpg</filename>,
|
---|
| 30 | <filename class="libraryfile">libpq</filename> and various charset
|
---|
| 31 | modules.</para>
|
---|
| 32 |
|
---|
| 33 | </sect2>
|
---|
| 34 |
|
---|
| 35 | <sect2><title>Description</title>
|
---|
| 36 |
|
---|
| 37 | <sect3><title>clusterdb</title>
|
---|
| 38 | <para><command>clusterdb</command> is a utility for reclustering tables
|
---|
| 39 | in a <application>Postgre<acronym>SQL</acronym></application>
|
---|
| 40 | database.</para></sect3>
|
---|
| 41 |
|
---|
| 42 | <sect3><title>createdb</title>
|
---|
| 43 | <para><command>createdb</command> creates a new
|
---|
| 44 | <application>Postgre<acronym>SQL</acronym></application> database.</para></sect3>
|
---|
| 45 |
|
---|
| 46 | <sect3><title>createlang</title>
|
---|
| 47 | <para><command>createlang</command> defines a new
|
---|
| 48 | <application>Postgre<acronym>SQL</acronym></application> procedural
|
---|
| 49 | language.</para></sect3>
|
---|
| 50 |
|
---|
| 51 | <sect3><title>createuser</title>
|
---|
| 52 | <para><command>createuser</command> defines a new
|
---|
| 53 | <application>Postgre<acronym>SQL</acronym></application> user account.</para></sect3>
|
---|
| 54 |
|
---|
| 55 | <sect3><title>dropdb</title>
|
---|
| 56 | <para><command>dropdb</command> removes a
|
---|
| 57 | <application>Postgre<acronym>SQL</acronym></application> database.</para></sect3>
|
---|
| 58 |
|
---|
| 59 | <sect3><title>droplang</title>
|
---|
| 60 | <para><command>droplang</command> removes a
|
---|
| 61 | <application>Postgre<acronym>SQL</acronym></application> procedural
|
---|
| 62 | language.</para></sect3>
|
---|
| 63 |
|
---|
| 64 | <sect3><title>dropuser</title>
|
---|
| 65 | <para><command>dropuser</command> removes a
|
---|
| 66 | <application>Postgre<acronym>SQL</acronym></application> user account.</para></sect3>
|
---|
| 67 |
|
---|
| 68 | <sect3><title>ecpg</title>
|
---|
| 69 | <para><command>ecpg</command> is the embedded <acronym>SQL</acronym> preprocessor.</para></sect3>
|
---|
| 70 |
|
---|
| 71 | <sect3><title>initdb</title>
|
---|
| 72 | <para><command>initdb</command> create a new database cluster.</para></sect3>
|
---|
| 73 |
|
---|
| 74 | <sect3><title>initlocation</title>
|
---|
| 75 | <para><command>initlocation</command> creates a secondary database storage
|
---|
| 76 | area.</para></sect3>
|
---|
| 77 |
|
---|
| 78 | <sect3><title>ipcclean</title>
|
---|
| 79 | <para><command>ipcclean</command> removes share memory and semaphores left over by an
|
---|
| 80 | aborted database server.</para></sect3>
|
---|
| 81 |
|
---|
| 82 | <sect3><title>pg_config</title>
|
---|
| 83 | <para><command>pg_config</command> retrieves
|
---|
| 84 | <application>Postgre<acronym>SQL</acronym></application> version
|
---|
| 85 | information.</para></sect3>
|
---|
| 86 |
|
---|
| 87 | <sect3><title>pg_controldata</title>
|
---|
| 88 | <para><command>pg_controldata</command> returns information initialized during
|
---|
| 89 | <command>initdb</command>, such as the catalog version and server
|
---|
| 90 | locale.</para></sect3>
|
---|
| 91 |
|
---|
| 92 | <sect3><title>pg_ctl</title>
|
---|
| 93 | <para><command>pg_ctl</command> controls stopping and starting the database
|
---|
| 94 | server.</para></sect3>
|
---|
| 95 |
|
---|
| 96 | <sect3><title>pg_dump</title>
|
---|
| 97 | <para><command>pg_dump</command> dumps database data and metadata into scripts which are
|
---|
| 98 | used to recreate the database.</para></sect3>
|
---|
| 99 |
|
---|
| 100 | <sect3><title>pg_dumpall</title>
|
---|
| 101 | <para><command>pg_dumpall</command> recursively calls
|
---|
| 102 | <command>pg_dump</command> for each database in a
|
---|
| 103 | cluster.</para></sect3>
|
---|
| 104 |
|
---|
| 105 | <sect3><title>pg_resetxlog</title>
|
---|
| 106 | <para><command>pg_resetxlog</command> clears the write-ahead log and optionally resets some
|
---|
| 107 | fields in the <filename>pg_control</filename> file.</para></sect3>
|
---|
| 108 |
|
---|
| 109 | <sect3><title>pg_restore</title>
|
---|
| 110 | <para><command>pg_restore</command> creates databases from dump files created by
|
---|
| 111 | <command>pg_dump</command>.</para></sect3>
|
---|
| 112 |
|
---|
| 113 | <sect3><title>postgres</title>
|
---|
| 114 | <para><command>postgres</command> is a single user database server, generally used for
|
---|
| 115 | debugging.</para></sect3>
|
---|
| 116 |
|
---|
| 117 | <sect3><title>postmaster</title>
|
---|
| 118 | <para><command>postmaster</command> is the multi-user database daemon.</para></sect3>
|
---|
| 119 |
|
---|
| 120 | <sect3><title>psql</title>
|
---|
| 121 | <para><command>psql</command> is a console based database shell.</para></sect3>
|
---|
| 122 |
|
---|
| 123 | <sect3><title>vacuumdb</title>
|
---|
| 124 | <para><command>vacuumdb</command> compacts databases and generates statistics for the
|
---|
| 125 | query analyzer.</para></sect3>
|
---|
| 126 |
|
---|
| 127 | </sect2>
|
---|