Re: [SQL] RewriteDefine.c : Rule size

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [SQL] RewriteDefine.c : Rule size
Дата
Msg-id 199907091654.MAA01529@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [SQL] RewriteDefine.c : Rule size  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [SQL] RewriteDefine.c : Rule size
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Good Optimization