Thu Feb 7 03:01:15 PST 2008
- Previous message: [Slony1-bugs] [Bug 34] New: slonik crash if spoolnode = true
- Next message: [Slony1-bugs] [Bug 34] slonik crash if spoolnode = true
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
http://www.slony.info/bugzilla/show_bug.cgi?id=34 --- Comment #1 from prouxel.pacte at gmail.com 2008-02-07 03:01:15 --- (In reply to comment #0) > I want to use a node with no database replication and that i use for generate > logshipping. > > node 1 admin conninfo='host=127.0.0.1 dbname=fb7 user=pgslony port=5433'; > node 2 admin conninfo='host=127.0.0.1 dbname=fb7 user=pgslony port=5435''; > > init cluster (id = 1, comment = 'Node 1 - fb7 at 127.0.0.1'); > > # STORE NODE > store node (id = 2, spoolnode = true, comment = 'Node 2 '); > > in slonik.c:store_node() > if (!stmt->no_spool) > { > adminfo1 = get_active_adminfo((SlonikStmt *) stmt, > stmt->no_id); > if (adminfo1 == NULL) > return -1; > } > > adminfo2 = get_checked_adminfo((SlonikStmt *) stmt, stmt->ev_origin); > if (adminfo2 == NULL) > return -1; > > if (db_begin_xact((SlonikStmt *) stmt, adminfo2) < 0) > return -1; > > stmt=0 when spoolnode = true so it crash. > it's adminfo1=0 when spoolnode = true -- Configure bugmail: http://www.slony.info/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are the assignee for the bug.
- Previous message: [Slony1-bugs] [Bug 34] New: slonik crash if spoolnode = true
- Next message: [Slony1-bugs] [Bug 34] slonik crash if spoolnode = true
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-bugs mailing list