Re: pgsql: Revive line type - Mailing list pgsql-committers

From Andres Freund
Subject Re: pgsql: Revive line type
Date
Msg-id 20140505172740.GC17909@awork2.anarazel.de
Whole thread Raw
In response to Re: pgsql: Revive line type  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
On 2014-05-05 13:24:15 -0400, Tom Lane wrote:
> Andres Freund <andres@2ndquadrant.com> writes:
> > On 2013-10-10 02:43:20 +0000, Peter Eisentraut wrote:
> >> Revive line type
>
> > That commit missed to update pg_type.h to the changed length of the line
> > type. Patch attached.
>
> Ouch.  Good thing we caught this now.

Yea. The only thing we could have done later is to allocate more memory
and waste the space ondisk :(.

I am really hoping to get pg into a state where it's sufficiently
valgrind clean that we can run a buildfarm animal under valgrind. The
newest release of valgrind helps there - e.g. some float bugs have been
worked out.

> In principle, fixing this breaks pg_upgrade'ability for anyone who was
> using the line type before (presumably by compiling with
> -DENABLE_LINE_TYPE).  However, we're breaking things for them anyway by
> changing the text representation, so that's probably not worth worrying
> over.

Agreed

Greetings,

Andres Freund

--
 Andres Freund                       http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Revive line type
Next
From: Tom Lane
Date:
Subject: pgsql: Fix pg_type.typlen for newly-revived line type.