What is Chapter 9 bankruptcy?

What is the difference between the bankruptcy you might file and what Stockton is going through?