Re: [GENERAL] redhat debug info

2007-03-29 Thread Ian Johnson
@postgresql.org Subject: Re: [GENERAL] redhat debug info Geoffrey <[EMAIL PROTECTED]> writes: > Tom Lane wrote: >> You download and install the postgresql-debuginfo RPM that exactly >> matches your other postgresql RPM(s). > I just downloaded 8.2.3 for RHWS 5 but did not see

Re: [GENERAL] redhat debug info

2007-03-28 Thread Joseph S
Martijn van Oosterhout wrote: On Wed, Mar 28, 2007 at 02:16:55PM -0400, Joseph S wrote: I thought the performance penalty came from making the executable bigger, which means the executor has to skip over the debug symbols somehow, which eats up cpu. If the symbols are in a different file this

Re: [GENERAL] redhat debug info

2007-03-28 Thread Martijn van Oosterhout
On Wed, Mar 28, 2007 at 02:16:55PM -0400, Joseph S wrote: > I thought the performance penalty came from making the executable > bigger, which means the executor has to skip over the debug symbols > somehow, which eats up cpu. If the symbols are in a different file this > wouldn't apply. When r

Re: [GENERAL] redhat debug info

2007-03-28 Thread Joseph S
Tom Lane wrote: Joseph Shraibman writes: Well 1) I'd like to avoid the performance penalty for including debug symbols There is none. If there were, it would certainly apply to debuginfo as well --- debuginfo is merely moving the symbols over to a different file after the compiler finishes.

Re: [GENERAL] redhat debug info

2007-03-28 Thread Tom Lane
Joseph Shraibman writes: > Well 1) I'd like to avoid the performance penalty for including debug > symbols There is none. If there were, it would certainly apply to debuginfo as well --- debuginfo is merely moving the symbols over to a different file after the compiler finishes. > and 2) I al

Re: [GENERAL] redhat debug info

2007-03-28 Thread Peter Eisentraut
Am Mittwoch, 28. März 2007 17:42 schrieb Joseph Shraibman: > Well 1) I'd like to avoid the performance penalty for including debug > symbols There is no performance penalty for that. > and 2) I already built the binary and it is running on a live > system, and I'd like to get debug symbols w/o r

Re: [GENERAL] redhat debug info

2007-03-28 Thread Joseph Shraibman
Well 1) I'd like to avoid the performance penalty for including debug symbols and 2) I already built the binary and it is running on a live system, and I'd like to get debug symbols w/o restarting. Peter Eisentraut wrote: Am Mittwoch, 28. März 2007 03:00 schrieb Joseph S: I don't use rpms, I

Re: [GENERAL] redhat debug info

2007-03-28 Thread Peter Eisentraut
Am Mittwoch, 28. März 2007 03:00 schrieb Joseph S: > I don't use rpms, I build from the tarballs, hence my question. Then use --enable-debug. You won't get the debug info in separate files, but you don't need to. -- Peter Eisentraut http://developer.postgresql.org/~petere/ ---

Re: [GENERAL] redhat debug info

2007-03-27 Thread Joseph S
Geoffrey wrote: Joseph S wrote: Fedora/Redhat has debuginfo packages that drop files with debug symbols in /usr/src/debug/, and gdb can use them. Does anyone know how this works and how I can get those files from the pg tarball? Where have you found these packages? Is this an rpm you have l

Re: [GENERAL] redhat debug info

2007-03-27 Thread Devrim GÜNDÜZ
Hi, On Tue, 2007-03-27 at 22:04 -0400, Tom Lane wrote: > Red Hat makes their debuginfo RPMs available in the normal course > of things (they're usually in a debug/ subdirectory of wherever you > find the RPMs) Fedora and Red Hat 5 users can download debuginfo packages via yum. Fedora users need

Re: [GENERAL] redhat debug info

2007-03-27 Thread Tom Lane
Geoffrey <[EMAIL PROTECTED]> writes: > Tom Lane wrote: >> You download and install the postgresql-debuginfo RPM that exactly >> matches your other postgresql RPM(s). > I just downloaded 8.2.3 for RHWS 5 but did not see a debuginfo rpm. > Also looked for them same for 7.4.16 but didn't find a debu

Re: [GENERAL] redhat debug info

2007-03-27 Thread Geoffrey
Tom Lane wrote: Joseph S writes: Fedora/Redhat has debuginfo packages that drop files with debug symbols in /usr/src/debug/, and gdb can use them. Does anyone know how this works and how I can get those files from the pg tarball? You download and install the postgresql-debuginfo RPM that ex

Re: [GENERAL] redhat debug info

2007-03-27 Thread Tom Lane
Joseph S writes: > Tom Lane wrote: >> You download and install the postgresql-debuginfo RPM that exactly >> matches your other postgresql RPM(s). > I don't use rpms, I build from the tarballs, hence my question. You'd have to dig into the RPM code enough to figure out how it separates the debug

Re: [GENERAL] redhat debug info

2007-03-27 Thread Joseph S
Tom Lane wrote: Joseph S writes: Fedora/Redhat has debuginfo packages that drop files with debug symbols in /usr/src/debug/, and gdb can use them. Does anyone know how this works and how I can get those files from the pg tarball? You download and install the postgresql-debuginfo RPM that ex

Re: [GENERAL] redhat debug info

2007-03-27 Thread Tom Lane
Joseph S writes: > Fedora/Redhat has debuginfo packages that drop files with debug symbols > in /usr/src/debug/, and gdb can use them. Does anyone know how this > works and how I can get those files from the pg tarball? You download and install the postgresql-debuginfo RPM that exactly matches

Re: [GENERAL] redhat debug info

2007-03-27 Thread Geoffrey
Joseph S wrote: Fedora/Redhat has debuginfo packages that drop files with debug symbols in /usr/src/debug/, and gdb can use them. Does anyone know how this works and how I can get those files from the pg tarball? Where have you found these packages? Is this an rpm you have located? -- Until

Re: [GENERAL] redhat debug info

2007-03-27 Thread Peter Wiersig
On Tue, Mar 27, 2007 at 03:57:49PM -0400, Joseph S wrote: > Does anyone know how this works and how I can get those files > from the pg tarball? My guess: strip -o Peter ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore

[GENERAL] redhat debug info

2007-03-27 Thread Joseph S
Fedora/Redhat has debuginfo packages that drop files with debug symbols in /usr/src/debug/, and gdb can use them. Does anyone know how this works and how I can get those files from the pg tarball? ---(end of broadcast)--- TIP 3: Have you checked