JAEN

SQL

psqlメタコマンド

Safepsql meta-commands

\l \dt \d <table> \du

psql's backslash commands — the Postgres equivalents of SHOW: \l databases, \dt tables, \d definitions.

Examples

  • \d usersDescribe a table

Syntax

\l(DB一覧) \c db(切替) \dt(テーブル) \d t(定義) \du(ユーザー) \q(終了)

Before you run it

Read only.

Related commands

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store