Sure, I'd be glad to provide any additional code or info that I can. This issue took me quite awhile to track down from the 200-line function that was breaking. When I execute the function defined above, here's what I see returned: select divide() ?column? ------------------------ 0 Hopefully someone can test on Windows to validate. On Nov 30, 2007 8:25 AM, Martijn van Oosterhout <kleptog@xxxxxxxxx> wrote: > On Fri, Nov 30, 2007 at 08:20:30AM -0800, Postgres User wrote: > > tom- did you test this on wndows? you can ignore the namespace- i'm > > using it consistently but removed from the test code to simplify > > > > this problem occurs repeatedly in my code. my guess is that it's a > > bug in the windows build. > > Seems rather unlikely to affect just windows. Can you post a script > that you can run against a blank database that shows the problem. > complete with output on your machine. > > > Have a nice day, > -- > Martijn van Oosterhout <kleptog@xxxxxxxxx> http://svana.org/kleptog/ > > Those who make peaceful revolution impossible will make violent revolution inevitable. > > -- John F Kennedy > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.1 (GNU/Linux) > > iD8DBQFHUDmUIB7bNG8LQkwRAvNMAKCQl8+bPo3bca/a33T+WVfQ/Ng2yQCdG+H5 > wZyc/alsznWsWck20lheR00= > =RVrJ > -----END PGP SIGNATURE----- > > ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings