Re: [HACKERS] Problems with LSEGs - Mailing list pgsql-hackers

From Thomas G. Lockhart
Subject Re: [HACKERS] Problems with LSEGs
Date
Msg-id ce809089990550af2c17ad0c8101f524
Whole thread Raw
In response to [HACKERS] Problems with LSEGs  (dasmith@perseus.tufts.edu (David Smith))
List pgsql-hackers
David Smith wrote:
>   Architecture (example: Intel Pentium)         :   DEC Alpha
>   Operating System (example: Linux 1.3.42 ELF)  :   Digital UNIX 4.0
>   PostgreSQL version (example: Postgres95-1.01) :   PostgreSQL-6.1 (2 June)
>   Compiler used (example:  gcc 2.7.0)           :   DEC cc
...
> The LSEGs are worse in today's distribution than they were last week.
> Simply trying to select rows with LSEGs dumps core on me.
...
Well, as far as I know lsegs haven't changed recently, but with lots of
small changes recently something might have or...

I tried your test case (which is a _lot_ simpler than the regression
test) and did not find a problem. On the assumption that you are seeing
an alignment problem, I checked pg_type.h for the alignment definition
for lseg, but it is specified as "d" which should be 8-byte aligned and
_should_ be OK with the Alpha.

I don't have any more visibility into your problem, but if you want to
pursue it you can try embedding some printf() statements into geo_ops.c
to isolate the misbehaving code.

            - Tom

------------------------------

End of hackers-digest V1 #374
*****************************

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] 6.1 progress
Next
From: "Vadim B. Mikheev"
Date:
Subject: Re: [HACKERS] 6.1 progress