pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marco Spiga <ctxspi@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: BUG #6015: to_hex and negative integer
Date: Sun, 8 May 2011 18:07:41 GMT
Message-ID: <201105081807.p48I7fgA087261@wwwmaster.postgresql.org> (raw)


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



view thread (3+ messages)  latest in thread

Message-ID: <201105081807.p48I7fgA087261@wwwmaster.postgresql.org>
Permalink:  ../201105081807.p48I7fgA087261@wwwmaster.postgresql.org/
Also on:    postgresql.org/message-id/201105081807.p48I7fgA087261@wwwmaster.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: ctxspi@gmail.com
  Subject: Re: BUG #6015: to_hex and negative integer
  In-Reply-To: <201105081807.p48I7fgA087261@wwwmaster.postgresql.org>
  References: <201105081807.p48I7fgA087261@wwwmaster.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox