Hi Keith,

On Thu, Aug 23, 2001 at 10:44:23AM -0600, Keith paskett wrote:
>
> It works fine if there are rows returned.
> I would have expected the 'ns_db select' to be ok but get 0 back from the
> first call to 'ns_db  getrow'
>
> I would like to return an empty list if there are now rows matching the
> query.
>
> Any suggestion/code snippets? Surely the OpenACS team has dealt with this.

        What version of the PostgreSQL driver do you have? If you are using
the one that comes with AOLserver, scrape that and grab the one from
openacs.org.
        I just tested your code here on my machine and I don't see the
problem. I get an empty list.

        -Roberto
--
+------------| Roberto Mello - http://www.brasileiro.net |------------+
Computer Science, Utah State University  -    http://www.usu.edu
USU Free Software & GNU/Linux Club       -    http://fslc.usu.edu
Space Dynamics Lab, Developer            -    http://www.sdl.usu.edu
OpenACS - _Your_ free web toolkit        -    http://openacs.org
I'm sorry -- my karma ran over your dogma.

Reply via email to