[HACKERS] [PATCH 0/3] Tau support

2014-06-27 Thread Asbjørn Sloth Tønnesen
Hi, Please see the following patches for implementing support for and migrating to Tau in PostgreSQL. Happy Tau Day Hacking http://tauday.com/ Make sure to check out this shory story: http://tauday.com/a-parable Asbjørn Sloth Tønnesen (3): Implement tau() function backend: use M_TAU

[HACKERS] [PATCH 3/3] earthdistance: TWO_PI = M_TAU

2014-06-27 Thread Asbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen asbj...@asbjorn.it --- contrib/earthdistance/earthdistance.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/contrib/earthdistance/earthdistance.c b/contrib/earthdistance/earthdistance.c index 6bbebdf..432309c 100644

[HACKERS] [PATCH 2/3] backend: use M_TAU instead of M_PI

2014-06-27 Thread Asbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen asbj...@asbjorn.it --- src/backend/utils/adt/float.c | 4 ++-- src/backend/utils/adt/geo_ops.c | 8 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/backend/utils/adt/float.c b/src/backend/utils/adt/float.c index 1278053..b0211f8

[HACKERS] [PATCH 1/3] Implement tau() function

2014-06-27 Thread Asbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen asbj...@asbjorn.it --- doc/src/sgml/func.sgml| 13 + src/backend/utils/adt/float.c | 17 +++-- src/include/catalog/pg_proc.h | 2 ++ src/include/utils/builtins.h | 1 + 4 files changed, 31 insertions(+), 2 deletions(-) diff