Green’s Dictionary of Slang

blue pig n.2

[colour of the uniform + pig n. (2a)]

a police officer.

[US]N. De Mille Smack Man (1991) 108: We wanna know what the blue pigs is gonna promise this time for givin’ some information. You always promisin’. Never deliverin’.