From: | "imagenesis(at)gmail(dot)com" <imagenesis(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | count(*) in binary mode returns 0 |
Date: | 2016-12-04 12:28:24 |
Message-ID: | CABxodt9BVPSxP-BuZH=zAo2grohqT49uTMgHEq0FsnFvLb5Cqw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
I have an implementation of binary format communication that is working
quite well but it is failing inexplicably on returning valid results for
the aggregate function count. It returns a correct result for instance for
the aggregate function max.
Here is some debug information to illustrate that I have debugged the host
order conversions and what have you in implementing this binary format. As
you can see, it is simply returning 0.
s:select count(*) from "User" where ("email" = $1)
valsl 1
val_str:t(at)t(dot)com len:7
result received
free_iter_pre
alloc_result pre
fname: count
nfields: 1
from_psql 00000000000000000000000000000000 bytes_to_read:4 read:4
host_order 00000000000000000000000000000000 bytes_to_read:4 read:4
conv_int ir:0
fname: count
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2016-12-04 15:06:47 | Re: Select works only when connected from login postgres |
Previous Message | Samuel Williams | 2016-12-04 09:43:28 | Re: Index size |