\di
In this group of commands, the letters E , i , m , s , t , and v stand for foreign table, index, materialized view, sequence, table, and view, respectively. You can specify any or all of these letters, in any order, to obtain a listing of objects of these types. For example, \dti lists tables and indexes. If x is appended to the command name, the results are displayed in expanded mode. If + is appended to the command name, each object is listed with its persistence status (permanent, temporary, or unlogged), physical size on disk, and associated description if any. If pattern is specified, only objects whose names match the pattern are listed. By default, only user-created objects are shown; supply a pattern or the S modifier to include system objects.
Reading PG 18·Select a recorded version
- Client
- psql 18.7
- Case-sensitive spelling
- \di
- command
- \di
- manual path
- app-psql.html#APP-PSQL-META-COMMAND-DE
- modifiers
- map[command:\dE modifiers:Sx+], map[command:\di modifiers:Sx+], map[command:\dm modifiers:Sx+], map[command:\ds modifiers:Sx+], map[command:\dt modifiers:Sx+], map[command:\dv modifiers:Sx+]
- signature
- \dE[Sx+] [ pattern ] \di[Sx+] [ pattern ] \dm[Sx+] [ pattern ] \ds[Sx+] [ pattern ] \dt[Sx+] [ pattern ] \dv[Sx+] [ pattern ]
- spellings
- \dE, \di, \dm, \ds, \dt, \dv
Definition PG 18
\dE[Sx+] [pattern]\di[Sx+] [pattern]\dm[Sx+] [pattern]\ds[Sx+] [pattern]\dt[Sx+] [pattern]\dv[Sx+] [pattern]In this group of commands, the letters
E,i,m,s,t, andvstand for foreign table, index, materialized view, sequence, table, and view, respectively. You can specify any or all of these letters, in any order, to obtain a listing of objects of these types. For example,\dtilists tables and indexes. Ifxis appended to the command name, the results are displayed in expanded mode. If+is appended to the command name, each object is listed with its persistence status (permanent, temporary, or unlogged), physical size on disk, and associated description if any. Ifpatternis specified, only objects whose names match the pattern are listed. By default, only user-created objects are shown; supply a pattern or theSmodifier to include system objects.
Exact case-sensitive spellings
\dE\di\dm\ds\dt\dv
Spellings in this manual definition
Compare versions
Complete source facts
documentation revision
{"inputs":[{"file":"app-psql.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"af50448485df02bdef2b72b8347192ba029c7082b8d0392ecb17db44ad533aaf","version":"18.7"},{"file":"app-psql.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"cb475c53a16d9e06358f5e6c9c5649645db92568cfd319f230c62c9f57ae090b","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"}Source references
Full definition and evidence JSON
Definition sources
center · PostgreSQL 18 · 1b2d62b4845aa46374f2cb680f95d3392322cc8128646992ae4e18d0e7084915
Text language: en · 1b2d62b4845aa46374f2cb680f95d3392322cc8128646992ae4e18d0e7084915