Alfranio Correia Junior <alfranio(at)lsd(dot)di(dot)uminho(dot)pt> writes:> What could cause the status ("select waiting") ?
Perhaps you are using SELECT FOR UPDATE?
regards, tom lane