The shooting happened inside an apartment building on the 1000 block of Tompkins Street, near the Alemany Farmers' Market parking lot. The market was not open.
INTERACTIVE: Take a look at the ABC7 Neighborhood Safety Tracker
Police say they responded after 8 a.m. where they found a man with gunshot wounds who died on the scene.
They also found a woman who was shot and has been transported to the hospital with life-threatening injuries.
A toddler was also shot and injured, but has non-life-threatening injuries and is expected to be ok.
Police did not say the relationship between the people shot.
They are not calling the incident a homicide.