Re: roman numerals - Mailing list pgsql-general

From greg@turnstep.com
Subject Re: roman numerals
Date
Msg-id 4c20e3fe8ab242c2ec5eb27e247ffd68@biglumber.com
Whole thread Raw
In response to roman numerals  (Brian Hirt <bhirt@mobygames.com>)
List pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> I see there's a way to convert to a roman numeral using
> to_char(10,'RN') will give you 'X'.
> How can i go the other way?

You cannot, but it is on a "TODO" list within the source code.

Until then, you may want to take a look at the perl module Math::Roman

http://theoryx5.uwinnipeg.ca/mod_perl/cpan-search?distinfo=3092

- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200305051023

-----BEGIN PGP SIGNATURE-----
Comment: http://www.turnstep.com/pgp.html

iD8DBQE+tnWqvJuQZxSWSsgRAiHdAJ48nW/m7msqqQUOlEaKieNQ8bmdmQCgr+Lx
mjA/yTu9JBtHuuyf8MrMnec=
=6c9j
-----END PGP SIGNATURE-----


pgsql-general by date:

Previous
From: "Nigel J. Andrews"
Date:
Subject: Re: Database server restarting
Next
From: Maurice Balick
Date:
Subject: index on INT8 column is never used