Re: [SQL] RewriteDefine.c : Rule size

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Jim Rowan <jmr(at)computing(dot)com>, Jan Wieck <jwieck(at)debis(dot)com>, Olivier Ertz <ertz(at)illite(dot)u-strasbg(dot)fr>, pgsql-sql(at)postgreSQL(dot)org
Subject: Re: [SQL] RewriteDefine.c : Rule size
Date: 1999-07-09 16:54:38
Message-ID: 199907091654.MAA01529@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> For the long run it would be nice to remove the restriction. I have no
> idea whether that would be easy or hard. Ideally we could do something
> like
>
> #if BLCKSZ > 32767
> typedef int BlockOffset;
> #else
> typedef short BlockOffset;
> #endif
>
> but finding all the places that need to use the typedef might be a pain.

We could easily to to unsigned short on this.

--
Bruce Momjian | http://www.op.net/~candle
maillist(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

Browse pgsql-sql by date

  From Date Subject
Next Message Bruce Momjian 1999-07-09 16:56:57 Re: [SQL] RewriteDefine.c : Rule size
Previous Message Bruce Momjian 1999-07-09 16:47:31 Re: [SQL] Good Optimization