PostgreSQL ユーザガイド

The PostgreSQL Development Team

PostgreSQL 開発チーム

Edited by

Thomas Lockhart

PostgreSQL
is Copyright © 1996-9 by the Postgres Global Development Group.

PostgreSQL
の版権 © 1996-9 は Postgres グローバル開発グループに帰属します。


Table of Contents
まとめ
1. イントロダクション
Postgresとは何ですか?
Postgresの簡単な歴史
バークレイ Postgres プロジェクト
Postgres95
PostgreSQL
このリリースについて
リソース
Terminology
表記
2000年問題
Copyrights and Trademarks
2. SQL文法
キーワード
予約語(Reserved Key Words)
予約語ではないキーワード(Non-reserved Keywords)
3. データ型
数値型
貨幣型
文字データ型
日付/時刻型
SQL92 規約
日付と時刻のスタイル
カレンダ
タイムゾーン
日付/時刻の入力
datetime 型
timespan
abstime 型
reltime 型
timestamp
interval
tinterval
ブール値型
地理データ型
座標点 (Point)
線分 (lseg)
矩形 (Box)
パス (Path)
多角形 (Polygon)
円 (Circle)
インターネットプロトコル バージョン4 上の ネットワークアドレスとホストアドレス
CIDR 型
inet
4. 演算子
辞書的な優先順位
一般的な演算子
算術演算子
座標演算子
時間間隔演算子
IP V4 CIDR 演算子
IP V4 INET 演算子
5. 関数
SQL 関数
算術関数
文字列関数
日付/時刻関数
地理的関数
IP V4 関数
6. Type Conversion
概要
ガイドライン
演算子
変換プロシージャ
関数
問い合わせの対象
UNION 問い合わせ
7. インデックスとキー
8. 配列
9. Inheritance
10. マルチバージョン・コンカレンシー・コントロール
イントロダクション
トランザクションの隔離
リードコミッティド隔離レベル
シリアライザブル隔離レベル
ロックとテーブル
テーブルレベルロック
行レベルロック
ロックとインデックス
アプリケーションにおけるデータ整合性のチェック
11. 環境設定
12. データベースの管理
データベースの作成
データベースの代替領域
データベースへの接続
データベースの権限
テーブルの権限
データベースの削除
13. Disk Storage
14. SQL Commands
ABORT — Aborts the current transaction 現在のトランザクションをアボートする
ALTER TABLE — Modifies table properties 表のプロパティを更新する
ALTER USER — Modifies user account information ユーザアカウント情報を変更する
BEGIN — Begins a transaction in chained mode トランザクションを連鎖モードで開始する
CLOSE — Close a cursor
CLUSTER — Gives storage clustering advice to the backend 記憶領域のクラスタ構成情報をバックエンドに与えます。
COMMIT — Commits the current transaction 現在のトランザクションをコミットする
COPY — Copies data between files and tables ファイルとテーブル間でデータをコピーします。
CREATE AGGREGATE — Defines a new aggregate function 新規の集約関数を定義します。
CREATE DATABASE — Creates a new database 新規にデータベースを作成する
CREATE FUNCTION — Defines a new function 新規の関数を定義します。
CREATE INDEX — Constructs a secondary index 補助的インデックスを作成します。
CREATE LANGUAGE — Defines a new language for functions 関数用に新規言語を定義します。
CREATE OPERATOR — Defines a new user operator 新しいユーザ演算子を定義します。
CREATE RULE — Defines a new rule 新しいルールを定義します。
CREATE SEQUENCE — Creates a new sequence number generator 新しいシーケンス番号生成機構を作成する
CREATE TABLE — Creates a new table 新しいテーブルを作成します。
CREATE TABLE AS — Creates a new table 新しいテーブルを作成します。
CREATE TRIGGER — Creates a new trigger 新しいトリガを作成します。
CREATE TYPE — Defines a new base data type 新しい基本データ型を定義します。
CREATE USER — Creates account information for a new user 新規ユーザのアカウント情報を作成する
CREATE VIEW — Constructs a virtual table 仮想テーブルを作成します。
DECLARE — Defines a cursor for table access テーブルアクセス用のカーソルを定義する。
DELETE — Deletes rows from a table テーブルから行を削除する。
DROP AGGREGATE — Removes the definition of an aggregate function 集約関数の定義の削除
DROP DATABASE — Destroys an existing database 既存のデータベースを削除します。
DROP FUNCTION — Removes a user-defined C function ユーザ定義の C 関数を削除します。
DROP INDEX — Removes an index from a database データベースからインデックスを削除します。
DROP LANGUAGE — Removes a user-defined procedural language ユーザ定義の手続き言語を削除します。
DROP OPERATOR — Removes an operator from the database データベースから演算子を削除します。
DROP RULE — Removes an existing rule from the database 既存のルールをデータベースから削除する
DROP SEQUENCE — Removes an existing sequence 既存のシーケンスを削除する
DROP TABLE — Removes existing tables from a database データベースから既存のテーブルを削除します。
DROP TRIGGER — Removes the definition of a trigger トリガの定義を削除します。
DROP TYPE — Removes a user-defined type from the system catalogs ユーザ定義の型をシステムカタログから削除します。
DROP USER — Removes an user account information ユーザアカウント情報を削除する
DROP VIEW — Removes an existing view from a database 既存のビューをデータベースから削除します。
EXPLAIN — Shows statement execution details 文の実行についての詳細を示す。
FETCH — Gets rows using a cursor カーソルを使用した行の入手。
GRANT — Grants access privilege to a user, a group or all users ユーザ、グループあるいはすべてのユーザにアクセス権限を与える
INSERT — Inserts new rows into a table テーブルに新しい行を挿入する。
LISTEN — Listen for a response on a notify condition 通知条件について応答を監視する。
LOAD — Dynamically loads an object file 動的にオブジェクトファイルを読み込む。
LOCK — Explicit lock of a table inside a transaction トランザクション内部でのテーブルの明示的なロック。
MOVE — Moves cursor position カーソルの位置を移動します。
NOTIFY — Signals all frontends and backends listening on a notify condition ある通知条件を監視する全てのフロントエンド、バックエンドに信号 を送る。
RESET — Restores run-time parameters for session to default values セッションにおける実行時パラメータをデフォルト値に戻す。
REVOKE — Revokes access privilege from a user, a group or all users. ユーザ、グループ、もしくは全てのユーザからアクセス権限を取り上げる。
ROLLBACK — Aborts the current transaction 現在のトランザクションをアボートする。
SELECT — Retrieve rows from a table or view. テーブルもしくはビューから行を取り出す。
SELECT INTO — Create a new table from an existing table or view 既存のテーブルもしくはビューから新しいテーブルを作成する。
SET — Set run-time parameters for session セッションにおける実行時パラメータを設定する。
SHOW — Shows run-time parameters for session セッションにおける実行時パラメータを示す。
UNLISTEN — Stop listening for notification 通知の監視を停止する。
UPDATE — Replaces values of columns in a table テーブル内のカラムの値を置き換えます。
VACUUM — Clean and analyze a Postgres database Postgres データベースのゴミ掃除と解析 を行なう。
15. アプリケーション
createdb — Create a new Postgres database 新規に Postgres データベースを作成する
createuser — Create a new Postgres user 新規 Postgres ユーザを作成する
destroydb — Remove an existing Postgres database 既存の Postgres データベース を削除します。
destroyuser — Destroy a Postgres user and associated databases Postgres ユーザと関連のデータベース を削除します。
initdb — Create a new Postgres database installation 新しいPostgres データベースインスタンス を作成する。
initlocation — Create a secondary Postgres database storage area 二次的 Postgres データベース格納領域 を作成する。
pgaccessPostgres graphical interactive client
pgadminPostgres graphical interactive client
pg_dump — Extract a Postgres database into a script file Postgres データベースを スクリプトファイルに抽出する
pg_dumpall — Extract all Postgres databases into a script file すべてのPostgres データベースを スクリプトファイルに抽出する
postgres — Run a Postgres single-user backend Postgres シングルユーザバックエンドの起動
postmaster — Run the Postgres multi-user backend Postgres マルチユーザバックエンドの起動
psqlPostgres interactive client Postgres インタラクティブクライアント
vacuumdb — Clean and analyze a Postgres database Postgres データベースのゴミ掃除と解析を おこなう。
UG1. 日付/時刻のサポート
タイムゾーン
歴史
Bibliography
Title information Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:nil sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"./reference.ced" sgml-exposed-tags:nil sgml-local-catalogs:"/usr/lib/sgml/CATALOG" sgml-local-ecat-files:nil End: