"Christian Maier" <tomtailor@xxxxxxxxxxx> writes: > I have written a function to load yahoo quote data. abut after parsing > the inserts will overload the server and disconnects. You'll need to be a lot more specific than that. What error messages do you see exactly? What shows up in the postmaster log? What PG version is this? regards, tom lane