Steve Burger <steve@customware.aust.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