Alter database while setting search path