pgsql: Fix another place that was assuming that a local variable

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix another place that was assuming that a local variable
Date: 2008-03-01 19:26:22
Message-ID: 20080301192622.401CF754108@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix another place that was assuming that a local variable declared as
"struct varlena" would be at least word-aligned. Per buildfarm results
from gypsy_moth. I did a little bit of trawling for other instances of
this coding pattern, and didn't find any; but if we turn up any more
of them I think we'd better revert the "char [4]" patch and find another
way of making tuptoaster.c alignment-safe.

Modified Files:
--------------
pgsql/src/backend/storage/large_object:
inv_api.c (r1.127 -> r1.128)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/large_object/inv_api.c?r1=1.127&r2=1.128)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2008-03-01 19:26:28 pgsql: Fix another place that was assuming that a local variable
Previous Message Magnus Hagander 2008-03-01 09:57:32 Re: pgsql: Fix handling of restricted processes for Windows Vista (mainly),