Commits

Author Commit Message Labels Comments Date
intgr
Released bugfix version 1.0.1
Tags
v1.0.1
intgr
Add PGXN/Travis-CI badges & update copyright dates
intgr
Fix Travis-CI build failure & add PostgreSQL 9.4 tests
intgr
Constify XirrState in finalization functions
intgr
Fix inconsistency in documentation Thanks to @AbrahamJewowich for reporting.
intgr
Avoid read of uninitialized data The chances of this causing any problems are negligible. Also fix code formatting.
intgr
Add Travis CI integration (.travis.yml)
intgr
Version bump to 1.0.0, update copyright headers
Tags
v1.0.0
intgr
Fix 'make install' with PostgreSQL 9.3 on non-Debian based Linux This avoids the dreaded "install: will not overwrite just-created" error.
intgr
Fix 'make install' with DESTDIR, doc dir missing The docdir /usr/share/doc/postgresql/extension cannot be assumed to pre-exist when installing with custom DESTDIR argument. Fixes error: /usr/bin/install: cannot create regular file ‘$(DESTDIR)/usr/share/doc/postgresql/extension/financial.md’: No such file or directory
intgr
META.json: Use consistent indentation
Tags
v0.0.2
intgr
Merged in theory/pg_financial/theory/fill-out-provides-section-of-metajson-o-1370450423957 (pull request #1) Fill out "provides" section of META.json.
David Wheeler
Fill out "provides" section of META.json. Otherwise PGXN does not properly index it; note that the name of the extension does not appear in the "Extensions" section of the [distribution page](http://pgxn.org/dist/financial/).
intgr
Update META.json, version 0.0.2 testing. Add tarball script
intgr
Add initial README
intgr
Annualized return must work with negative inputs also, like XIRR (Also tweaked debug output)
intgr
Update/add copyright headers
intgr
New test, try different guesses
intgr
Fix window functions: xirr() OVER (...) Finalize function may not change XirrState.
intgr
Add optional 3rd argument: xirr(amt, time, guess)
intgr
Avoid growing state array if not necessary
intgr
Use annualized return as initial guess Seems to work better in pathological cases.
intgr
Break out of Newton loop earlier if things look bleak
intgr
Don't crash when xirr input is NULL
intgr
Add more tests
intgr
Minor cleanups
intgr
Add initial META.json file
intgr
Use defined constants, support old float timestamps
intgr
Cache exponentation, speed up large inputs Since exponentation takes the majority of runtime, this speeds up large calculations around 2 times.
intgr
Initial import (it works! \o/)