On 2 Nov 2009, at 11:15, Alban Hertroys wrote:
That is -1.
Pressed Send too soon, that's only true for signed 32-bit integers of
course.
Alban Hertroys
--
Screwing up is the best way to attach something to the ceiling.
!DSPAM:737,4aeeb49f11071380273732!
--
Sent via pgsql-general mail
On 2 Nov 2009, at 10:21, Raimon Fernandez wrote:
byte 1: 255 &HFF
byte 2: 255 &HFF
byte 3: 255 &HFF
byte 4: 255 &HFF
-
1020 decimal or
Thou shalt not sum the byte-values of a 32-bit number!
&H 4294967295
but never -1
That is -1.
Alban Hertroys
--
Screwing up is
On 02/11/2009, at 10:37, Craig Ringer wrote:
On 2/11/2009 5:21 PM, Raimon Fernandez wrote:
Here I'm again ...
I'm parsing the DataRow(B), and I'm having problems with NULL values.
In the docs I can read they have a -1 value, an no bytes follow
them for
the value.
But I'm getting a 1020
On 2/11/2009 5:21 PM, Raimon Fernandez wrote:
> Here I'm again ...
>
>
> I'm parsing the DataRow(B), and I'm having problems with NULL values.
>
> In the docs I can read they have a -1 value, an no bytes follow them for
> the value.
>
> But I'm getting a 1020 value instead of -1
You're using R
Here I'm again ...
I'm parsing the DataRow(B), and I'm having problems with NULL values.
In the docs I can read they have a -1 value, an no bytes follow them
for the value.
But I'm getting a 1020 value instead of -1
Int32 The length of the column value, in bytes (this count does not
inc