BUG #6015: to_hex and negative integer

From: "Marco Spiga" <ctxspi(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #6015: to_hex and negative integer
Date: 2011-05-08 18:07:41
Message-ID: 201105081807.p48I7fgA087261@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 6015
Logged by: Marco Spiga
Email address: ctxspi(at)gmail(dot)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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Craig Ringer 2011-05-09 06:41:58 Re: BUG #6015: to_hex and negative integer
Previous Message Euler Taveira de Oliveira 2011-05-08 00:09:44 Re: BUG #6009: Duvida