On Tuesday, 12 April 2016 at 09:58:22 UTC, Suliman wrote:
On Tuesday, 12 April 2016 at 09:52:53 UTC, Rory McGuire wrote:
On Tue, Apr 12, 2016 at 11:30 AM, Suliman via
Digitalmars-d-announce < digitalmars-d-announce@puremagic.com>
wrote:
[...]
Would need to see the full exception stack trace that was
printed out.
Could you perhaps have an infinite recursion bug in there
somewhere?
You should be able to see if you are getting the right type
out of the
Variant by using something like:
writeln(row[1].type);
I am getting Out of memory exception even on this code:
writeln(row[0].type);
writeln(row[0]); // -- works fine
writeln(row[0]) is fine.
However, you need to close the result set and destroy the
PGCommand.
result.close();
cmd.destroy();