Need reader/writer per proc to avoid shared pg connection issues.