pg_select in a tcl script - Mailing list pgsql-interfaces

From Steve Burger
Subject pg_select in a tcl script
Date
Msg-id 3C7EFD8C.E8536C52@customware.aust.com
Whole thread Raw
Responses Re: pg_select in a tcl script
List pgsql-interfaces
Hi

The documentation for pg_select says that "the return result is either
an error message or a handle for a query result".

How can I catch this output? and How do I determine if it is an error or
a handle?

I have tried
   set res [pg_select ...]   pg_result res -status
complains that res is not a result handle, it seems to be a null value.

Thanks in advance for and help or ideas

Steve




pgsql-interfaces by date:

Previous
From: Bruce Badger
Date:
Subject: Re: Beating Oracle
Next
From: Bruce Momjian
Date:
Subject: Re: Beating Oracle