pgsql: Avoid a memory allocation in the backend startup code, to avoid

From: alvherre(at)postgresql(dot)org (Alvaro Herrera)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Avoid a memory allocation in the backend startup code, to avoid
Date: 2009-05-04 02:24:18
Message-ID: 20090504022418.7577375407B@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Avoid a memory allocation in the backend startup code, to avoid having to check
whether it failed. Modelled after catcache.c's usage of DlList, per suggestion
from Tom.

Modified Files:
--------------
pgsql/src/backend/postmaster:
postmaster.c (r1.578 -> r1.579)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c?r1=1.578&r2=1.579)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2009-05-04 02:46:37 pgsql: Fix missed usage of DLNewElem()
Previous Message User Bmomjian 2009-05-04 00:46:03 pg-migrator - src: Record all toast entries, not just relkind = 't'