pg_select in a tcl script

From: Steve Burger <steve(at)customware(dot)aust(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: pg_select in a tcl script
Date: 2002-03-01 04:03:24
Message-ID: 3C7EFD8C.E8536C52@customware.aust.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Bruce Momjian 2002-03-01 04:04:52 Re: Beating Oracle
Previous Message Bruce Badger 2002-03-01 04:01:29 Re: Beating Oracle