Re: pgsql/src/backend/postmaster (postmaster.c) - Mailing list pgsql-committers

From Peter Eisentraut
Subject Re: pgsql/src/backend/postmaster (postmaster.c)
Date
Msg-id Pine.LNX.4.21.0007031845340.355-100000@localhost.localdomain
Whole thread Raw
In response to Re: pgsql/src/backend/postmaster (postmaster.c)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
Tom Lane writes:

> OK, do you want to fix it, or shall I?

I will. I got some half-finished code lying around that touches that.

> BTW, it is now possible for guc.c to use palloc in TopMemoryContext,
> if you want to do that.  There's no real functional difference between
> that and malloc --- except that MemoryContextStats() could include
> the space used by guc.c --- but if it's just irritating you to use
> malloc then you could change it.

Well, I would really like a way to register an entire memory context to be
swept away by elog(ERROR). But that's probably too specialized. But yes, I
will look into that.

--
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden


pgsql-committers by date:

Previous
From: Peter Eisentraut - PostgreSQL
Date:
Subject: pgsql/src/bin/pg_dump (pg_dumpall.sh Makefile pg_dumpall)
Next
From: Peter Eisentraut - PostgreSQL
Date:
Subject: pgsql/src/backend/libpq (pqcomm.c)