numbers format

From: ivan <iv(at)psycho(dot)pl>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: numbers format
Date: 2003-08-18 18:18:39
Message-ID: Pine.LNX.4.56.0308182014350.24969@rex.anfa.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


in pg is function to_hex () , but there is no function to_dec,
but there could be auto conversion like in c/c++ and others lang.

select 0x64;
select 0312;

( and like in asm select 01010101b; :-)

and also :

select char(0x64);

or conversion :

select '0x64' :: int;

need to change parser ?

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-08-18 18:20:13 Re: Parsing speed (was Re: pgstats_initstats() cost)
Previous Message ivan 2003-08-18 18:14:27 Re: DOMAIN NEED CAST ?