about modifying and compiling a component of PostgreSQL

Lists: pgsql-admin
From: "Seung Hyun Jeong" <jeongs(at)cs(dot)man(dot)ac(dot)uk>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: about modifying and compiling a component of PostgreSQL
Date: 2001-11-12 19:11:35
Message-ID: 002a01c16bad$d8e8bc50c65882@cs.man.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

Hi,

I modified a source file(I just define a macro for #ifdef) in the gist
subdirectory,
and comiled the source file by using makefile in the directory.
Then, what I need to do to see the behaviour of modified source code?
Do I need to reinstall all stuff by using make file at top level?

And, what I need to do to see the result of elog(NOTICE, "......") on psql
window?
I suppose I need to give a special option to postmaster for that when it
starts at booting time,
but I have no idea how to change the Postmaster's starting options.

Hopefully, there is anyone who can help me.
Cheers.


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Seung Hyun Jeong <jeongs(at)cs(dot)man(dot)ac(dot)uk>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: about modifying and compiling a component of PostgreSQL
Date: 2001-11-15 16:15:59
Message-ID: Pine.LNX.4.30.0111151538470.633-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

Seung Hyun Jeong writes:

> I modified a source file(I just define a macro for #ifdef) in the gist
> subdirectory,
> and comiled the source file by using makefile in the directory.
> Then, what I need to do to see the behaviour of modified source code?
> Do I need to reinstall all stuff by using make file at top level?

You need to do make and make install in src/backend or at the top level.

--
Peter Eisentraut peter_e(at)gmx(dot)net