[PATCHES] syntax error position CREATE FUNCTION bug fix

2004-03-18 Thread Fabien COELHO
Dear patchers, Please find attached a patch to fix the CREATE FUNCTION syntax error position bug I reported a few days ago. As the exact query being processed in only known to the backend (it may be the initial query, it may be a subset of the initial query, it may be some generated query?),

Re: [PATCHES] syntax error position CREATE FUNCTION bug fix

2004-03-18 Thread Tom Lane
Fabien COELHO [EMAIL PROTECTED] writes: But it cannot (easily) match it up with the *original input* Sure. Even the parser in the backend cannot do it, that's the problem!;-) We *can* do it, it's just a matter of the pain level. For instance we could have the main lexer save aside an

[PATCHES] UnixWare Thread Patch (and test_fsync)

2004-03-18 Thread Larry Rosenman
Here is a patch for the UnixWare thread stuff (template only, not initdb), and to the test_fsync makefile to remove a gcc'ism: Index: src/template/unixware === RCS file: /projects/cvsroot/pgsql-server/src/template/unixware,v

Re: [PATCHES] [HACKERS] compile warning in CVS HEAD

2004-03-18 Thread Andrew Dunstan
Patch attached. Also adds a malloc() check that Neil wanted. cheers andrew Tom Lane wrote: Andrew Dunstan [EMAIL PROTECTED] writes: *sigh* my local (linux) man for gettimeofday says this: struct timeval { time_t tv_sec;/* seconds */