Hex numbers in psql

From: "madhtr" <madhtr(at)schif(dot)org>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Hex numbers in psql
Date: 2007-05-20 14:23:39
Message-ID: 007f01c79aea$75eba230$6401a8c0@useronewin2klt
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

hi group :)

How do use hex numbers in psql? I.E.

instead of:
select 16
I want to do
select 0x10

like in c++

I tried doing what this website said
http://www.faqs.org/docs/ppbook/c12119.htm
but it does not work

TY :)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message madhtr 2007-05-20 15:42:01 exception question ....
Previous Message Andrew Sullivan 2007-05-20 12:38:47 Re: Data replication through disk replication