Skip site navigation (1) Skip section navigation (2)

pgsql/src/include/utils (elog.h)

From: tgl(at)postgresql(dot)org
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/include/utils (elog.h)
Date: 2001-01-12 21:54:02
Message-ID: 200101122154.f0CLs2b92874@hub.org (view raw or flat)
Thread:
Lists: pgsql-committers
  Date: Friday, January 12, 2001 @ 16:54:02
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/include/utils
     from hub.org:/home/projects/pgsql/tmp/cvs-serv92773/src/include/utils

Modified Files:
	elog.h 

-----------------------------  Log Message  -----------------------------

Add more critical-section calls: all code sections that hold spinlocks
are now critical sections, so as to ensure die() won't interrupt us while
we are munging shared-memory data structures.  Avoid insecure intermediate
states in some code that proc_exit will call, like palloc/pfree.  Rename
START/END_CRIT_CODE to START/END_CRIT_SECTION, since that seems to be
what people tend to call them anyway, and make them be called with () like
a function call, in hopes of not confusing pg_indent.
I doubt that this is sufficient to make SIGTERM safe anywhere; there's
just too much code that could get invoked during proc_exit().


pgsql-committers by date

Next:From: petereDate: 2001-01-12 22:15:32
Subject: pgsql/doc/src/sgml (dfunc.sgml programmer.sgml xfunc.sgml)
Previous:From: tglDate: 2001-01-12 21:54:01
Subject: pgsql/src/include/access (xlog.h)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group