Chapter 7. 実行時の環境

Table of Contents
Unix における Postgres の使用
postmaster の起動
pg_options の使用

This chapter outlines the interaction between Postgres and the operating system.

この章では、Postgres とオペレーティン グシステムとの間の相互作用についての概略を示します。

Unix における Postgres の使用

All Postgres commands that are executed directly from a Unix shell are found in the directory ".../bin". Including this directory in your search path will make executing the commands easier.

Unix のシェルから直接実行可能な Postgres コマンドは全て ".../bin" ディレクトリにあります。この ディレクトリをコマンド検索パスに含めておくと、コマンドをより簡単に 実行することができます。

A collection of system catalogs exist at each site. These include a class (pg_user) that contains an instance for each valid Postgres user. The instance specifies a set of Postgres privileges, such as the ability to act as Postgres super-user, the ability to create/destroy databases, and the ability to update the system catalogs. A Unix user cannot do anything with Postgres until an appropriate instance is installed in this class. Further information on the system catalogs is available by running queries on the appropriate classes.

システムカタログはサイト毎に存在しています。ここには、有効な Postgres ユーザのインスタンスを持つクラ ス( pg_user )があります。このインスタンスは、 Postgres スーパーユーザとして動作できる かどうか、データベースの作成、削除を行なうことができるかどうか、シ ステムカタログの更新を実行できるかどうかといった、 Postgres 上での権限を指定しています。 Unix 上のユーザは、このクラスに適切なインスタンスがない限り Postgres を操作することはできません。シ ステムカタログに関するより詳細な情報は、適切なクラスに問い合わせを 行なうことで入手できます。