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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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)

Browse pgsql-committers by date

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