Re: [BUGS] BUG #6015: to_hex and negative integer

2011-05-26 Thread Craig Ringer
On 05/26/2011 11:21 PM, Marco Spiga wrote: Thanks Craig for your reply. I have read wikipedia link and what you have tell me is TRUE. But if I give these select: megaradius=# SELECT to_hex(-42); to_hex -- ffd6 (1 riga) megaradius=# SELECT to_hex(4294967254); to_hex

Re: [BUGS] BUG #6015: to_hex and negative integer

2011-05-08 Thread Craig Ringer
On 09/05/11 02:07, Marco Spiga wrote: > > The following bug has been logged online: > > Bug reference: 6015 > Logged by: Marco Spiga > Email address: ctx...@gmail.com > PostgreSQL version: 8.3.12 > Operating system: Ubuntu Linux on kernel version 2.6.30.5 > Description:

[BUGS] BUG #6015: to_hex and negative integer

2011-05-08 Thread Marco Spiga
The following bug has been logged online: Bug reference: 6015 Logged by: Marco Spiga Email address: ctx...@gmail.com PostgreSQL version: 8.3.12 Operating system: Ubuntu Linux on kernel version 2.6.30.5 Description:to_hex and negative integer Details: Hi! First, than