RE: [HACKERS] pg_user backtrace -- with ElectricFence (looks useful :) - Mailing list pgsql-hackers

From Taral
Subject RE: [HACKERS] pg_user backtrace -- with ElectricFence (looks useful :)
Date
Msg-id 000201bde376$db7eac80$3b291f0a@taral
Whole thread Raw
In response to Re: [HACKERS] pg_user backtrace -- with ElectricFence (looks useful :)  (Bruce Momjian <maillist@candle.pha.pa.us>)
Responses Re: [HACKERS] pg_user backtrace -- with ElectricFence (looks useful :)  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
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.        |
>


pgsql-hackers by date:

Previous
From: dg@informix.com (David Gould)
Date:
Subject: Re: [HACKERS] Compiling 6.4 on NetBSD-current/pc532
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] pg_user backtrace -- with ElectricFence (looks useful :)