pg-bignum
pg-bignum copied to clipboard
PostgreSQL extension for unlimited precision integers.
Hi, Thanks for making pg-bignum. I have problems installing, make installs fails with: /usr/bin/install: will not overwrite just-created '/usr/share/postgresql/13/extension/bignum--0.8.0.sql' with './/sql/bignum--0.8.0.sql' make: *** [/usr/lib/postgresql/13/lib/pgxs/src/makefiles/pgxs.mk:233: install] Error 1 Here is the...
Hi there, I've just fixed the build system. there is also another guy complaining about this. Will close: https://github.com/beargiles/pg-bignum/issues/6
* The build system previously was broke, files were attempting to be copied twice fouling make. See issue #2 on github. * We didn't currently have a method of converting...
I cannot create the bignum extension. I need it for the pg-cert extension for postgresql-9.6 git clone https://github.com/beargiles/pg-bignum cd pg-bignum cp sql/bignum.sql sql/bignum--0.8.0.sql gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute...
https://github.com/beargiles/pg-bignum/blob/50beda090b7ea0b58e1a7f120cfc0466723add69/src/bignum.c#L54 It looks like there you are getting a kind of middle-endian, cause of big-endian means most significant byte is 0, but it is moved from 7th to 4th byte.
As some if not most big numbers are usually given in hex it's nice to have a direct way of importing/converting them from string. Given that parsing hex to binary...
This doesn't actually work for me, ``` ifeq ($(PG91),yes) #STUFF CUT OUT... DATA = $(wildcard sql/*--*.sql) sql/$(EXTENSION)--$(EXTVERSION).sql ## STUFF endif ``` By that I mean it generates the error ```...