Re: [PATCHES] Maintaining cluster order on insert

2007-06-18 Thread Gregory Stark
Heikki Linnakangas [EMAIL PROTECTED] writes: The reason for switching to the new API instead of the amsuggestblock API is CPU overhead. It avoids constructing the IndexTuple twice and descending the tree twice. I wonder if it's possible to finesse this. Have the suggestblock function remember

[PATCHES] Remove comment about tab-complete.c

2007-06-18 Thread Simon Riggs
Remove line from guc.c 6. Add it to src/bin/psql/tab-complete.c, if it's a USERSET option. No longer required for parameters. -- Simon Riggs EnterpriseDB http://www.enterprisedb.com Index: src/backend/utils/misc/guc.c

Re: [PATCHES] Remove comment about tab-complete.c

2007-06-18 Thread Magnus Hagander
On Mon, Jun 18, 2007 at 10:02:21AM +0100, Simon Riggs wrote: Remove line from guc.c 6. Add it to src/bin/psql/tab-complete.c, if it's a USERSET option. No longer required for parameters. Wow, a simple enough patch that I could review it in no time :-) Thanks, applied. //Magnus

[PATCHES] Updated version of Numeric508

2007-06-18 Thread Simon Riggs
See -hackers thread for discussion. Updated version of num508, against current CVS HEAD. -- Simon Riggs EnterpriseDB http://www.enterprisedb.com Index: src/backend/utils/adt/numeric.c === RCS file:

Re: [PATCHES] WIP: rewrite numeric division

2007-06-18 Thread Tom Lane
Gregory Stark [EMAIL PROTECTED] writes: Where did we get the CVS-HEAD algorithm from anyways? IIRC it's from Smith's FM library cited in numeric.c, which is also where most of numeric.c's higher-order-function algorithms came from. It's good code but oriented to scientific computing, which means