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

pgsql: Mark a static array "const" to move a few bytes from the "data"

From: neilc(at)svr1(dot)postgresql(dot)org (Neil Conway)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Mark a static array "const" to move a few bytes from the "data"
Date: 2005-07-28 07:38:34
Message-ID: 20050728073834.B43BE52DFE@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Mark a static array "const" to move a few bytes from the "data" segment
to the "text" segment. It would be possible to mark the elements of the
array "const" as well, but this would require multiple API changes and
does not seem to be worth the notational inconvenience.

Modified Files:
--------------
    pgsql/src/backend/catalog:
        heap.c (r1.287 -> r1.288)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/heap.c.diff?r1=1.287&r2=1.288)

pgsql-committers by date

Next:From: Neil ConwayDate: 2005-07-28 07:51:14
Subject: pgsql: Refactor exec_cast_value() and exec_simple_cast_value(): since
Previous:From: User NwakefieldDate: 2005-07-28 05:41:08
Subject: bizgres - bizgres: Tweaked error handling to work better with

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