2 ms·
Yes psql supports it. The syntax is "\i path/to/file.sql" or "\ir relative/path/to/file.sql". The latter is resolved relative to the parent script. Makes nestin
by koolba 10y ago
Yes psql supports it. The syntax is "\i path/to/file.sql" or "\ir relative/path/to/file.sql". The latter is resolved relative to the parent script. Makes nesting scripts possible without losing your sanity.
- kenshaw 10y agoYes, if it's in psql, I'll get it into usql in the near future. (for certain large values of near).