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

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 (view raw or flat)
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)

pgsql-committers by date

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

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