Skip to content

Instantly share code, notes, and snippets.

@killerstorm
Created April 26, 2018 13:17
Show Gist options
  • Save killerstorm/2d4e918ef2762c9791cb4a7a1b015fd2 to your computer and use it in GitHub Desktop.
Save killerstorm/2d4e918ef2762c9791cb4a7a1b015fd2 to your computer and use it in GitHub Desktop.
alex=# begin transaction;
BEGIN
alex=# select 20000000000::integer + 1000000000::integer;
ERROR: integer out of range
alex=# select 1;
ERROR: current transaction is aborted, commands ignored until end of transaction block
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment