Today I Learned

hashrocket A Hashrocket project

command line SQL help

Documentation

\h [NAME]              help on syntax of SQL commands, * for all commands

Example

\h ROLLBACK TO SAVE POINT

Output

Command:     ROLLBACK TO SAVEPOINT
Description: roll back to a savepoint
Syntax:
ROLLBACK [ WORK | TRANSACTION ] TO [ SAVEPOINT ] savepoint_name

/ht Brian

See More #sql TILs
Looking for help? Hashrocket developers believe that data quality is as important as code quality. We enjoy all the challenges of relational databases, from finding the fastest index, to structuring data to fit the needs of an application. We're eager to share our experiences; check out PG Casts, our series of free PostgreSQL screencasts.