Re: int8 sequences --- small implementation problem

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: int8 sequences --- small implementation problem
Дата
Msg-id Pine.BSF.4.21.0108141108220.68737-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на int8 sequences --- small implementation problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: int8 sequences --- small implementation problem  (Jan Wieck <JanWieck@Yahoo.com>)
Список pgsql-hackers
On Tue, 14 Aug 2001, Tom Lane wrote:

> Jan Wieck <JanWieck@yahoo.com> writes:
> >     And he who needs that kind of long term row identifiers would
> >     be better off with 8-byte sequences anyway - IMNSVHO.
> 
> What I need is a way to pad the struct declaration so that it leaves
> 8 bytes per int64 column, no matter what.  I thought of
> 
> This would work, I think, but my goodness it's an ugly solution.
> Has any hacker got a better one?

The only thing I could think of is using a struct to hide the
padding details instead of directly using int64, but then you'd have to
add a '.value' or something to the references.  I'm not sure that's really
any cleaner.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Dave Blasby
Дата:
Сообщение: Forcing GiST index to be used
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: To be 7.1.3 or not to be 7.1.3?