Kelly Burkhart <kelly@xxxxxxxxxxxxxxxxxxx> writes: > Tom, I'd be happy to profile the backend at several points in the run if > you think that would be helpful. What compiler flags should I use? Add -g -pg and leave the rest alone. Also, if you're on Linux note that you need -DLINUX_PROFILE. > It may be weekend by the time I get this done. Well, it's probably too late to think of tweaking 8.1 anyway... regards, tom lane