Skip to content

stop psql on first error

Because i always forget how to stop psql on the first error:


\set ON_ERROR_STOP


You can include this at the top of your script/file, psql will stop right after the first error and will not try to continue any other commands in the chain.

  • Twitter
  • Bookmark stop psql on first error at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg stop psql on first error
  • Bloglines stop psql on first error
  • Technorati stop psql on first error
  • Fark this: stop psql on first error
  • Bookmark stop psql on first error at YahooMyWeb
  • Bookmark stop psql on first error at Furl.net
  • Bookmark stop psql on first error at reddit.com
  • Bookmark stop psql on first error at blinklist.com
  • Bookmark stop psql on first error at Spurl.net
  • Bookmark stop psql on first error at Simpy.com
  • Bookmark stop psql on first error at blogmarks
  • Bookmark stop psql on first error with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca

Trackbacks

No Trackbacks

Comments

Display comments as Linear | Threaded

No comments

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.
To leave a comment you must approve it via e-mail, which will be sent to your address after submission.
Form options