Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addition of bn_out_hex function. #1

Merged
merged 1 commit into from
Dec 28, 2018
Merged

Conversation

dbdeadka
Copy link

Hi, Evan!

Thank you so much for the good extension.
I want to offer some additional function for output bignum value in hex.

t=# create table t(a bignum, b bignum);
CREATE TABLE
t=# insert into t values(bn_in_hex('ffffffffffffffff'),bn_in_hex('ffffffffffffffff'));
INSERT 0 1
t=# select bn_out_hex((a+1) * (b+1)) from t;
             bn_out_hex
------------------------------------
 0100000000000000000000000000000000
(1 row)

In awaiting for your feedback,
Sincerely,
dbdeadka

@EvanCarroll EvanCarroll merged commit c0e7ddc into EvanCarroll:master Dec 28, 2018
@EvanCarroll
Copy link
Owner

Looks good

@dbdeadka
Copy link
Author

Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants