Index: openacs-4/packages/search/tcl/search-init.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/search/tcl/search-init.tcl,v diff -u -r1.7 -r1.7.2.1 --- openacs-4/packages/search/tcl/search-init.tcl 8 Nov 2005 18:24:07 -0000 1.7 +++ openacs-4/packages/search/tcl/search-init.tcl 18 Jan 2007 07:24:50 -0000 1.7.2.1 @@ -2,5 +2,7 @@ ad_schedule_proc -thread t [parameter::get_from_package_key -package_key search -parameter SearchIndexerInterval -default 60 ] search::indexer -ad_schedule_proc -thread t 14400 db_dml optimize_intermedia_index {Ctx_Ddl.Optimize_Index ('swi_index','FAST', 60)} +if {[ns_config "ns/db/drivers" postgres] eq ""} { + ad_schedule_proc -thread t 14400 db_dml optimize_intermedia_index {Ctx_Ddl.Optimize_Index ('swi_index','FAST', 60)} +}