patch to replace VARATT_SIZEP macro

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: patch to replace VARATT_SIZEP macro
Date: 2007-02-14 13:06:29
Message-ID: 87y7n0ubvu.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Here's a patch to remove the VARATT_SIZEP macro replacing it with
SET_VARLENA_LEN. It doesn't change the actual format of the size header so
it's basically a noop in terms of functionality.

I did add an AssertMacro to check the length is reasonable, but that's the
only functional difference.

If anybody has any major patches getting near to being committed in the next
few days then it probably makes sense to hold this until they hit CVS. I would
be happy to update it when that happens.

However if that's not the case it makes sense to commit this asap as it will
bitrot rapidly. Everyone should be sure to update their cvs tree before
starting any new work after this gets committed.

Attachment Content-Type Size
patch-setvarlenalen-1.patch text/x-patch 92.4 KB

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2007-02-14 17:22:43 Re: [GENERAL] ISO week dates
Previous Message Tom Lane 2007-02-14 07:54:10 Re: BUG #2996: to_char( timestamp, 'DD-Mon-YYYY HH24:MI:SS.MS' ) reports .1000 ms