Re: pg_select in a tcl script

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Steve Burger <steve(at)customware(dot)aust(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: pg_select in a tcl script
Date: 2002-03-01 04:27:53
Message-ID: 24117.1014956873@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Steve Burger <steve(at)customware(dot)aust(dot)com> writes:
> 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.

Shouldn't that be
set res [pg_select ...]
pg_result $res -status

regards, tom lane

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Bruce Badger 2002-03-01 04:47:29 Re: Beating Oracle
Previous Message Tom Lane 2002-03-01 04:26:32 Re: Beating Oracle