Thank you for your help.


I have tried many ways you suggested.  I was not familiar with this area, so I 
did spend lots of time trying.



At last, I found the easiest way to do this is to build a new SRPM package, 
then build other RPMs from the new SRPM.



Thanks a lot,

Ruihai



________________________________
From: Tom Lane <t...@sss.pgh.pa.us>
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 <ruihaiji...@msn.com> writes:
> 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.

On platforms where such things exist, that's handled by the packaging
system, not by PG proper.  You should proceed by making a new SRPM
and building RPMs from that.

                        regards, tom lane

Reply via email to