On Tue, 1 Aug 2006, Joe Conway wrote: > Gavin Sherry wrote: > > Is this intentional: > > > > template1=# values(1), (2); > > column1 > > --------- > > 1 > > 2 > > (2 rows) > > > > This is legal because of: > > > > simple_select: > > /* ... */ > > | values_clause { $$ = $2; } > > hmm, not sure about that... > > > > > Also, I am working out some docs and regression tests. > > > > Oh, cool. I was going to start working on that myself tonight, but if > you're already working on it, don't let me stand in the way ;-) > > Actually, if you want me to finish up whatever you have started, I'm > happy to do that too.
I've got to go out but I'll send a complete patch when I get back. Gavin ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match