From: | tgl(at)postgresql(dot)org (Tom Lane) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Fix some bugs introduced by the 8.2-era conversion of cube |
Date: | 2008-05-29 18:46:46 |
Message-ID: | 20080529184646.819E2754C54@cvs.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Log Message:
-----------
Fix some bugs introduced by the 8.2-era conversion of cube functions to V1
calling convention. cube_inter and cube_distance could attempt to pfree
their input arguments, and cube_dim returned a value from a struct it
might have just pfree'd (which would only really cause a problem in a
debug build, but it's still wrong). Per bug #4208 and additional code
reading.
In HEAD and 8.3, I also made a batch of cosmetic changes to bring these
functions into line with the preferred coding style for V1 functions,
ie declare and fetch all the arguments at the top so readers can easily
see what they are.
Tags:
----
REL8_3_STABLE
Modified Files:
--------------
pgsql/contrib/cube:
cube.c (r1.34 -> r1.34.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/cube/cube.c?r1=1.34&r2=1.34.2.1)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-05-29 18:46:52 | pgsql: Fix some bugs introduced by the 8.2-era conversion of cube |
Previous Message | Tom Lane | 2008-05-29 18:46:40 | pgsql: Fix some bugs introduced by the 8.2-era conversion of cube |