Skip site navigation (1) Skip section navigation (2)

Re: Numeric 508 datatype

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Numeric 508 datatype
Date: 2005-11-17 14:49:10
Message-ID: 437C9866.7050308@pse-consulting.de (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-hackerspgsql-patches
Tom Lane wrote:
> Andreas Pflug <pgadmin(at)pse-consulting(dot)de> writes:
> 
>>Simon Riggs wrote:
>>
>>>Now we're into 8.2devel mode, its time to submit the previously
>>>discussed patch that:
>>>- reduces Numeric storage format by 2 bytes
> 
> 
>>This makes the often discussed binary upgrade impossible, so I wonder if 
>>two bytes savings are worth the trouble.
> 
> 
> Unless someone actually steps forward and produces a working pg_upgrade
> in the 8.2 timeframe, this objection is moot.

Hm, so if this patch is applied now, and in 5 months or so somebody 
implements pg_upgrade, this numeric storage patch would be rolled back?
OTOH, an upgrade mechanism that's compatible for future 8.3+ versions 
only seems not too attractive.
A solution might be to keep the current numeric implementation under a 
different name (deprecatednumeric or so), for backward compatibility 
(this should apply to future storage format changes as well).

Regards,
Andreas

In response to

Responses

pgsql-hackers by date

Next:From: Joshua D. DrakeDate: 2005-11-17 15:08:34
Subject: Re: Optional postgres database not so optional in 8.1
Previous:From: Tom LaneDate: 2005-11-17 14:46:12
Subject: Re: Optional postgres database not so optional in 8.1

pgsql-patches by date

Next:From: Joshua D. DrakeDate: 2005-11-17 15:57:33
Subject: Re: Numeric 508 datatype
Previous:From: Tom LaneDate: 2005-11-17 14:26:14
Subject: Re: Numeric 508 datatype

pgsql-general by date

Next:From: Lincoln YeohDate: 2005-11-17 15:11:25
Subject: Re: PREPARE TRANSACTION and webapps
Previous:From: Tom LaneDate: 2005-11-17 14:26:14
Subject: Re: Numeric 508 datatype

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group