From: Tom Lane
Sent: Friday, November 24, 2017 12:50:37 AM
To: Rui Hai Jiang
Cc: pgsql-hack...@postgresql.org
Subject: Re: How is the PostgreSQL debuginfo file generated
Rui Hai Jiang writes:
> I’m wondering how to build the debuginfo package from the PostgreSQL sou
A little trick:
1. configure with —enable-debug, run “make install”, use this build result
as debuginfo
2. then run “make install-strip”, use this result as release
However the it is not the regular debuginfo, you still can call gdb with
it. Additionally, you can dump the real debuginfo from it
On 23 November 2017 at 18:38, Rui Hai Jiang wrote:
> Hello hackers,
>
>
>
> I’m wondering how to build the debuginfo package from the PostgreSQL
> source.
>
>
>
> For example to generate something like this one :
> postgresql91-debuginfo.x86_64.
>
>
>
> Is there existing support in the current P
Rui Hai Jiang writes:
> Im wondering how to build the debuginfo package from the PostgreSQL source.
> For example to generate something like this one :
> postgresql91-debuginfo.x86_64.
On platforms where such things exist, that's handled by the packaging
system, not by PG proper. You should
Hello hackers,
I’m wondering how to build the debuginfo package from the PostgreSQL source.
For example to generate something like this one :
postgresql91-debuginfo.x86_64.
Is there existing support in the current PostgreSQL Makefiles to generate such
debuginfo? I have searched in the sourc