Re: [HACKERS] Patch for automating partitions in PostgreSQL 8.4 Beta 2

2009-06-09 Thread gj
still doesn't work: make[1]: Leaving directory `/home/gjaskie/Projects/postgres/pgsql/config' /home/gjaskie/Projects/postgres/pgsql/partition.sh: line 14: a.keyorder,: command not found /home/gjaskie/Projects/postgres/pgsql/partition.sh: line 15: where: command not found : command not

Re: [HACKERS] Patch for automating partitions in PostgreSQL 8.4 Beta 2

2009-06-09 Thread gj
On Tue, 9 Jun 2009 at 13:52:08, Kedar Potdar wrote: I did a fresh checkout and applied patch and added files and it works at my end. Is there any problem with formatting of the file? May be some characters('\') missing in conversion? For one, I think you should put it around in quotes,

Re: [HACKERS] _penalty gist method invoked with one key NULL

2005-10-27 Thread gj
); tmp1 = ((float)key-eStart)*(1.5*(float)key-percent); *result = tmp1 - tmp2; PG_RETURN_POINTER(result); } for whatever reason here origentry-key is NULL. -- GJ ---(end of broadcast)--- TIP 4: Have you searched

Re: [HACKERS] _penalty gist method invoked with one key NULL

2005-10-27 Thread gj
Breakpoint 1, gistpenalty (giststate=0xbfc254e4, attno=0, key1=0xbfc252d4, isNull1=0 '\0', key2=0xbfc24fd4, isNull2=0 '\0', penalty=0xbfc24fb0) at gistutil.c:821 821 FunctionCall3(giststate-penaltyFn[attno], (gdb) p key1 $1 = (GISTENTRY *) 0xbfc252d4 (gdb) p