Re: Datum as struct - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Datum as struct
Date
Msg-id 1484146.1754531711@sss.pgh.pa.us
Whole thread Raw
In response to Re: Datum as struct  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I wrote:
> I think that on a 32-bit machine this would actually result in a
> null-pointer core dump, since the 0.0 would be coerced to a zero
> Datum value.  The line is not reached in our regression tests,
> and given the lack of field complaints, it must be hard to reach
> in normal use too.  Or 32-bit machines are deader than I thought.

On closer inspection, it's unreachable because bqarr_in won't
accept an empty query, and there is no other function that will
create query_int values.  So probably it's not worth the trouble
to back-patch.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Shinya Kato
Date:
Subject: Speed up COPY FROM text/CSV parsing using SIMD
Next
From: Thomas Munro
Date:
Subject: Re: [PATCH] OAuth: fix performance bug with stuck multiplexer events