Mon Feb 5 14:03:32 PST 2007
- Previous message: [Slony1-commit] slony1-engine RELEASE-1.1.7
- Next message: [Slony1-commit] slony1-engine RELEASE-1.2.7
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/src/slonik
In directory main:/tmp/cvs-serv3290/src/slonik
Modified Files:
Tag: REL_1_1_STABLE
slonik.c
Log Message:
Per change committed to HEAD on Jan 30th, this applies to the 1.1 branch
This addresses the problem where a slonik requests UNINSTALL NODE
breaks.
Report in the error message which node it was working on. That way the
gentle user gets an indication as to which node 'broke' if the slonik
script contained multiple such requests.
Index: slonik.c
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/slonik/slonik.c,v
retrieving revision 1.42.2.6
retrieving revision 1.42.2.7
diff -C2 -d -r1.42.2.6 -r1.42.2.7
*** slonik.c 31 Oct 2006 22:17:25 -0000 1.42.2.6
--- slonik.c 5 Feb 2007 22:03:30 -0000 1.42.2.7
***************
*** 3029,3032 ****
--- 3029,3033 ----
if (db_exec_command((SlonikStmt *) stmt, adminfo1, &query) < 0)
{
+ printf("Failed to exec uninstallNode() for node %d\n", stmt->no_id);
dstring_free(&query);
return -1;
***************
*** 3034,3037 ****
--- 3035,3039 ----
if (db_commit_xact((SlonikStmt *) stmt, adminfo1) < 0)
{
+ printf("Failed to commit uninstallNode() for node %d\n", stmt->no_id);
dstring_free(&query);
return -1;
***************
*** 3043,3046 ****
--- 3045,3049 ----
if (db_exec_command((SlonikStmt *) stmt, adminfo1, &query) < 0)
{
+ printf("Failed to drop schema for node %d\n", stmt->no_id);
dstring_free(&query);
return -1;
***************
*** 3048,3051 ****
--- 3051,3055 ----
if (db_commit_xact((SlonikStmt *) stmt, adminfo1) < 0)
{
+ printf("Failed to commit drop schema for node %d\n", stmt->no_id);
dstring_free(&query);
return -1;
- Previous message: [Slony1-commit] slony1-engine RELEASE-1.1.7
- Next message: [Slony1-commit] slony1-engine RELEASE-1.2.7
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list