Re: [HACKERS] PostGreSQL v6.2.1 for Linux Alpha

From: "Kenji T(dot) Hollis" <khollis(at)Gawain(dot)Houston-InterWeb(dot)COM>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: scrappy(at)hub(dot)org, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] PostGreSQL v6.2.1 for Linux Alpha
Date: 1998-02-12 10:06:38
Message-ID: Pine.BSF.3.95.980212100555.28507A-100000@Gawain.Houston-InterWeb.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce:

> Take a look at utils/hash/hashfn.c:tag_hash. Is there a problem in that
> code for your platform. Is the hash getting set, or is it falling
> through the case statements? This code is clearly broken for
> sizeof(int) > 4, but I think your ints are 4, and longs are 8. I bet
> somewhere we are using a long where we should be using an int, and that
> is why only your platform is seeing it. Is this true about long vs.
> int. I can review our use of longs to see if there are problems.

I created a small program to return the size of values. They are:

Size of short: 2
Size of char: 1
Size of int: 4
Size of long: 8

Does this help?

-- Ken
------
=========================================================================
Houston InterWeb Design, Inc. || Office: +1 (713) 627-9494
Lead Programmer/Designer || Fax: +1 (713) 627-2744
C++, Windows, and Web Programming || Pager: +1 (713) 727-2529
=========================================================================
Home page URL: http://www.houston-interweb.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kenji T. Hollis 1998-02-12 10:09:30 Re: [HACKERS] PostGreSQL v6.2.1 for Linux Alpha
Previous Message Maurice Gittens 1998-02-12 09:50:29 Installation data blocksize and max tuple size configuration