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