\include
Reads input from the file filename and executes it as though it had been typed on the keyboard.
Reading PG 18·Select a recorded version
- Client
- psql 18.7
- Case-sensitive spelling
- \include
- command
- \include
- manual path
- app-psql.html#APP-PSQL-META-COMMAND-INCLUDE
- modifiers
- Unknown
- signature
- \i or \include filename
- spellings
- \i, \include
Definition PG 18
\ior\includefilenameReads input from the file
filenameand executes it as though it had been typed on the keyboard.If
filenameis-(hyphen), then standard input is read until an EOF indication or\qmeta-command. This can be used to intersperse interactive input with input from files. Note that Readline behavior will be used only if it is active at the outermost level.Note
If you want to see the lines on the screen as they are read you must set the variable
ECHOtoall.
Exact case-sensitive spellings
\i\include
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