Re: [HACKERS] More fun with GIN lossy-page pointers

2010-08-01 Thread Tom Lane
Alvaro Herrera writes: > Excerpts from Tom Lane's message of sáb jul 31 09:57:13 -0400 2010: >> So far as I can see, it's impossible to handle this situation when >> examining only one TID per stream with no lookahead. Choosing to >> advance the second stream would obviously fail in many other c

Re: [HACKERS] More fun with GIN lossy-page pointers

2010-07-31 Thread Tom Lane
Alvaro Herrera writes: > Excerpts from Tom Lane's message of sáb jul 31 09:57:13 -0400 2010: >> So far as I can see, it's impossible to handle this situation when >> examining only one TID per stream with no lookahead. Choosing to >> advance the second stream would obviously fail in many other c

Re: [HACKERS] More fun with GIN lossy-page pointers

2010-07-31 Thread Alvaro Herrera
Excerpts from Tom Lane's message of sáb jul 31 09:57:13 -0400 2010: > So far as I can see, it's impossible to handle this situation when > examining only one TID per stream with no lookahead. Choosing to > advance the second stream would obviously fail in many other cases, > so there is no correc

[HACKERS] More fun with GIN lossy-page pointers

2010-07-31 Thread Tom Lane
I fixed the problem I was on about earlier with ginget.c doing the wrong thing for keystreams like this: ... ... 42/642/65535 42/7... ... (To recap, after reporting the potential lossy match for 42/6, the previous code would adva