Unix Technical Forum

execute sql script w/o stopping after error?

This is a discussion on execute sql script w/o stopping after error? within the pgsql Interfaces Pgadmin Hackers forums, part of the PostgreSQL category; --> Does pgadmin3 offer a way to execute sql scripts without stopping if an error is encountered? I've got a ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 05:57 PM
Carl R. Brune
 
Posts: n/a
Default execute sql script w/o stopping after error?

Does pgadmin3 offer a way to execute sql scripts without
stopping if an error is encountered? I've got a script
which starts by dropping table (which may or may not exist)
and then rebuilds it. If I execute the script with psql
(using \i) script execution continues after errors. However
if I try to do this with the query tool of pgadmin3 it stops
after the drop table statement (if the table doesn't exist).

Thanks,

Carl B.

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:58 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com