レンタルサーバーで独自ドメインを利用してホームページ公開

 



[ カテゴリ: 共用サーバプラン > 技術的なご質問 > ご利用方法の説明、マニュアル > 旧スタンダード・フロントページプランのマニュアル ]

PostgreSQL 利用方法


PostgreSQL 利用方法

PostgreSQL をご利用いただく方法として Telnet にてアクセスして頂く方法を解説します。

  • データベースへのログイン方法
    Telnet にてサーバへアクセスして頂き、 psqlコマンドで Postgre の自分のデータベースにログインします。

    bash-2.02$ psql
    Welcome to the POSTGRESQL interactive sql monitor:
    Please read the file COPYRIGHT for copyright terms of POSTGRESQL
    [PostgreSQL 6.5.3 on i386-unknown-freebsd2.2.8, compiled by gcc 2.7.2.1]

    type ? for help on slash commands
    type q to quit
    type g or terminate with semicolon to execute query
    You are currently connected to the database: hidekijt

    username=>

? と入力するとバックスラッシュ () コマンド一覧が出力されます。

username=> ?
? -- help
a -- toggle field-alignment (currently on)
C [<captn>] -- set html3 caption (currently '')
connect <dbname|-> <user> -- connect to new database (currently 'hidekijt')
copy table {from | to} <fname>
d [<table>] -- list tables and indices, columns in <table>, or * for all
da -- list aggregates
dd [<object>]- list comment for table, field, type, function, or operator.
df -- list functions
di -- list only indices
do -- list operators
ds -- list only sequences
dS -- list system tables and indexes
dt -- list only tables
dT -- list types
e [<fname>] -- edit the current query buffer or <fname>
E [<fname>] -- edit the current query buffer or <fname>, and execute
f [<sep>] -- change field separater (currently '|')
g [<fname>] [|<cmd>] -- send query to backend [and results in <fname> or pipe]
h [<cmd>] -- help on syntax of sql commands, * for all commands
H -- toggle html3 output (currently off)
i <fname> -- read and execute queries from filename
l -- list all databases
m -- toggle monitor-like table display (currently off)
o [<fname>] [|<cmd>] -- send all query results to stdout, <fname>, or pipe
p -- print the current query buffer
q -- quit
r -- reset(clear) the query buffer
s [<fname>] -- print history or save it in <fname>
t -- toggle table headings and row count (currently on)
T [<html>] -- set html3.0 <table ...> options (currently '')
x -- toggle expanded output (currently off)
w <fname> -- output current buffer to a file
z -- list current grant/revoke permissions
! [<cmd>] -- shell escape or command
username=>

次のページへ





情報はお役に立ちましたでしょうか?
以下は同じカテゴリ内にある情報です。合わせてご参考ください。

[ カテゴリ: 共用サーバプラン > 技術的なご質問 > ご利用方法の説明、マニュアル > 旧スタンダード・フロントページプランのマニュアル ]

AnonymousFTP 利用方法
CGI 利用方法
PHP 利用方法
PostgreSQL 利用方法
PostgreSQL 利用方法 2
PostgreSQL 利用方法 3
SSL 利用方法
TELNET 利用方法
Webページアクセス制御 (.htaccess) 設定方法
アクセスカウンタ利用方法
アクセスログ利用方法
サーバ領域容量確認方法
パスワード変更方法
フォームメール設定方法(FormMail.cgi)
プログラム、ユーティリティのパス
ホームディレクトリ内のファイル・ディレクトリ
メーリングリストの設定方法
メールの送受信設定 (NetscapeNavigatorの場合の例)
メール自動返信機能 (メールオートレスポンダー) ・メーリングリストの設定方法
メール転送設定方法(.domains)