Bruce Momjian writes: > I am not sure about the idea of -g by default. I know lyx uses -g by > default, and the compile/install takes forever. In fact, I have removed > -g from my compiles here because it takes too long to compile/link and I > do it too often. When I need to debug, I recompile with -g. My concern > is that we may start to look very bloated with -g and those huge > binaries. My question is whether it is worth the install slowness/bloat?
PostgreSQL compile time is minimal compared to other packages. If you're worried about 30 seconds, turn off the optimization or use parallel make. If you see yourself doing a full build too often, turn on dependency tracking. The extra time you spend building with -g is the time you save yourself and the users from having to recompile everything because a bug needs to be tracked down. And when you rebuild, the bug might not be reproduceable. I don't buy the disk space argument either. If you're worried about a few megabytes then you going to have a lot of trouble running a database. And if you're still worried, you can run install-strip, which is the standard way to do it. -- Peter Eisentraut [EMAIL PROTECTED] ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])