BUG #6015: to_hex and negative integer - Mailing list pgsql-bugs

From Marco Spiga
Subject BUG #6015: to_hex and negative integer
Date
Msg-id 201105081807.p48I7fgA087261@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #6015: to_hex and negative integer
List pgsql-bugs
The following bug has been logged online:

Bug reference:      6015
Logged by:          Marco Spiga
Email address:      ctxspi@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, thank for your excellent software.
My question is:
Why when I try: SELECT to_hex(-1)
it give me a strange result: ffffffff


Thanks Again

pgsql-bugs by date:

Previous
From: tute
Date:
Subject: Re: BUG #5986: pg_dump output is not ordered
Next
From: Craig Ringer
Date:
Subject: Re: BUG #6015: to_hex and negative integer