I would like to donate some code to the project, formatting numbers as any
base from 2 to 64. The FAQ describes contributions to the core code, but
it's possible contrib is a better target. This is all of course contingent
on how well received this extension code is of course. Code available at
the following link.

https://github.com/ttfkam/pg_formatbase

I believe it follows the PostgreSQL project's C code formatting guidelines
and includes tests. Preliminary checks show it to be about as efficient as
the built in hex formatting only it supports the full gamut of number
formatting: binary, ternary, octal, hex, base 36 (popular with Javascript),
etc. I was scratching a personal itch, but hopefully this can scratch
others' as well.


Cheers,

Miles Elam
-- 
      Quidquid latine dictum sit, altum sonatur.
    - Whatever is said in Latin sounds profound.

Reply via email to