Added int cast when using bit operations in PostgreSQL
Added int cast when using bit operations in PostgreSQL

mikljohansson/syndicate,mikljohansson/syndicate,mikljohansson/syndicate,mikljohansson/syndicate,mikljohansson/syndicate