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

Re: Clear out the reminants of EXTEND INDEX

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Martijn van Oosterhout <kleptog(at)svana(dot)org>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Clear out the reminants of EXTEND INDEX
Date: 2001-07-16 20:08:49
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> >>> I always rip that stuff out. We do an initdb for every release.  What
> >>> could break by renumbering those nodes? 
> >> 
> >> Actually, since we don't store node type numbers on disk (just symbolic
> >> names), there's probably nothing that could break as long as people do a
> >> full recompile when they update.  It's no worse than changing the fields
> >> of a widely-used struct, I suppose.  I was just being paranoid.
> On third thought, there is some value to preserving the node numbers:
> when we see a bug report from the field like 
> 	ERROR:  ExecEvalExpr: unknown expression type 108
> we don't have to resort to excavating back versions of nodes.h to figure
> out which node type is meant.

If we do that, we have to only add entries to the end and not put them
with other appropriate symbols, and we have to keep them around forever.
Doesn't seem worth it to me.

  Bruce Momjian                        |
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to


pgsql-patches by date

Next:From: Tom LaneDate: 2001-07-16 20:12:44
Subject: Re: Clear out the reminants of EXTEND INDEX
Previous:From: Tom LaneDate: 2001-07-16 19:30:27
Subject: Re: Clear out the reminants of EXTEND INDEX

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