Mon Nov 17 14:39:49 PST 2008
- Previous message: [Slony1-commit] slony1-engine/tests/test1 generate_dml.sh
- Next message: [Slony1-commit] slony1-engine/src/backend slony1_base.sql
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/src/backend In directory main.slony.info:/tmp/cvs-serv25473/src/backend Modified Files: slony1_funcs.sql Log Message: Fix problem with cleanup function - it was performing an "imperative select" which isn't permissible Index: slony1_funcs.sql =================================================================== RCS file: /home/cvsd/slony1/slony1-engine/src/backend/slony1_funcs.sql,v retrieving revision 1.144 retrieving revision 1.145 diff -C2 -d -r1.144 -r1.145 *** slony1_funcs.sql 18 Sep 2008 21:26:29 -0000 1.144 --- slony1_funcs.sql 17 Nov 2008 22:39:47 -0000 1.145 *************** *** 5193,5198 **** where (ev_origin, ev_seqno) in (select ev_origin, min(ev_seqno) from @NAMESPACE at .sl_event where ev_type = 'SYNC' group by ev_origin) loop ! select 1 from @NAMESPACE at .sl_log_2 where log_origin = v_origin and log_txid < v_xmin limit 1; ! if exists then v_purgeable := 'false'; end if; --- 5193,5197 ---- where (ev_origin, ev_seqno) in (select ev_origin, min(ev_seqno) from @NAMESPACE at .sl_event where ev_type = 'SYNC' group by ev_origin) loop ! if exists (select 1 from @NAMESPACE at .sl_log_2 where log_origin = v_origin and log_txid < v_xmin limit 1) then v_purgeable := 'false'; end if;
- Previous message: [Slony1-commit] slony1-engine/tests/test1 generate_dml.sh
- Next message: [Slony1-commit] slony1-engine/src/backend slony1_base.sql
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list