Executes schema.sql within the current session; \ir resolves the path relative to the script's own directory. Useful when you are already connected and want to apply a migration. Related: psql -f from the shell.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.