On Thu, 2007-09-27 at 13:49 +0200, Vivien Malerba wrote: > > But then it tries to get the values by using > > gda_data_model_iter_set_at_row(). But it displays the same value for > > each row (the value for the last row). This is the output for my test > > table: > > The reason is that gda_data_model_iter_set_at_row() returned FALSE
Ah, sorry for not seeing that. > meaning it could not set the iter at the requested row, which is why > it always returns the same value. The reason it returns FALSE is that > it's not implemented (specifically the i_iter_at_row virtual method is > not implemented). Of course it an iterator can move forward and > backward, there could be a default implementation to move it to a > desired row... I guess this should be implemented with FETCH ABSOLUTE. http://www.postgresql.org/docs/8.2/static/sql-fetch.html Does that seem appropriate? -- [EMAIL PROTECTED] www.murrayc.com www.openismus.com _______________________________________________ gnome-db-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-db-list
