Re: Hex Integer Input

From: Joe Conway <mail(at)joeconway(dot)com>
To: Achilleus Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Hex Integer Input
Date: 2003-03-07 16:50:56
Message-ID: 3E68CDF0.4040302@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Achilleus Mantzios wrote:
> Hi, is there a way to enter integer data by their HEX
> representation??
>

Is this what you want?

regression=# select x'ffff'::int4;
int4
-------
65535
(1 row)

Joe

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Achilleus Mantzios 2003-03-07 17:03:01 Re: Help on indexing timestamps
Previous Message Richard Huxton 2003-03-07 16:28:11 Re: Underscores in column names