Re: [SQL] RewriteDefine.c : Rule size - Mailing list pgsql-sql

From Bruce Momjian
Subject Re: [SQL] RewriteDefine.c : Rule size
Date
Msg-id 199907091654.MAA01529@candle.pha.pa.us
Whole thread Raw
In response to Re: [SQL] RewriteDefine.c : Rule size  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-sql by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [SQL] RewriteDefine.c : Rule size
Next
From: Bruce Momjian
Date:
Subject: Re: Good Optimization