Well, my Makefile.custom is this:
CFLAGS= -I$(SRCDIR)/include -I$(SRCDIR)/backend -O2 -g3
LDFLAGS:=-lefence $(LDFLAGS)
and I run the backend directly with:
postgres -D <datadir> template1
Of course, I wouldn't compile the postmaster frontend with electric fence if
I wanted to use it, since efence slows down programs incredibly, and causes
them to eat up large amounts of memory. Perhaps this is what is happening to
you?
Taral
> -----Original Message-----
> From: Bruce Momjian [mailto:maillist@candle.pha.pa.us]
> Sent: Friday, September 18, 1998 12:15 AM
> To: Taral
> Cc: pgsql-hackers@hub.org
> Subject: Re: [HACKERS] pg_user backtrace -- with ElectricFence (looks
> useful :)
>
> I am wondering how you got electic fence to work. I can't seem to get
> it very far into the postmaster startup before I get an allocation
> error. Is there something special you did?
>
> --
> Bruce Momjian | 830 Blythe Avenue
> maillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026
> http://www.op.net/~candle | (610) 353-9879(w)
> + If your life is a hard drive, | (610) 853-3000(h)
> + Christ can be your backup. |
>