Re: [BUGS] bug or regression in plpgsql vs word window, your choice

2010-03-16 Thread David E. Wheeler
On Mar 16, 2010, at 9:20 PM, Robert Treat wrote: > The problem is with the variable name window; once I changed it things worked > fine. Now, Window is supposed to be a reserved word, so I am not necessarily > expecting it to work any more, but this code works fine in 8.4., so I figured > I >

[BUGS] bug or regression in plpgsql vs word window, your choice

2010-03-16 Thread Robert Treat
Howdy folks, I've been testing the reconnoiter code against 9.0: CREATE OR REPLACE FUNCTION stratcon.choose_window(IN in_start_time timestamp with time zone, IN in_end_time timestamp with time zone, IN in_hopeful_nperiods integer, OUT tablename text, OUT period interval, OUT nperiods integer)