Forum OpenACS Q&A: Response to Weird behavior of db api, doesn't work within ns_sockcallback

That seems's to have solved the problem, thanks very much.
Could somebody elaborate on this for a newbie's sake?  What's an example of a fully qualified query name?  I just put a db_foreach in a tcl proc in a page, and the query is blowing up as described (can't read "rest": no such variable).

Mind if I report this as a bug, if it is not already?

BTW, I'm being bad and not using an xql file.

Thanks,
Kevin Murphy

P.S.  Yes, I am going to plough through the source.  I think the OpenACS motto should be "OACS: do you think you're tough enough?"  Maybe a new Alex could be created that is a bit more menacing .... 😉