aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_expr.c
diff options
context:
space:
mode:
authorNathan Bossart <nathan@postgresql.org>2023-08-23 07:49:03 -0700
committerNathan Bossart <nathan@postgresql.org>2023-08-23 07:49:03 -0700
commit260a1f18dae8729f99cefe4e1f759193fd6bedd0 (patch)
tree63fa3c210deaf8877d786c03351eadc88d73a734 /src/backend/parser/parse_expr.c
parentccadf73163ca88bdaa74b8223d4dde05d17f550b (diff)
downloadpostgresql-260a1f18dae8729f99cefe4e1f759193fd6bedd0.tar.gz
postgresql-260a1f18dae8729f99cefe4e1f759193fd6bedd0.zip
Add to_bin() and to_oct().
This commit introduces functions for converting numbers to their equivalent binary and octal representations. Also, the base conversion code for these functions and to_hex() has been moved to a common helper function. Co-authored-by: Eric Radman Reviewed-by: Ian Barwick, Dag Lem, Vignesh C, Tom Lane, Peter Eisentraut, Kirk Wolak, Vik Fearing, John Naylor, Dean Rasheed Discussion: https://postgr.es/m/Y6IyTQQ/TsD5wnsH%40vm3.eradman.com
Diffstat (limited to 'src/backend/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions