| From: | "Jan Sunavec" <jan(dot)sunavec(at)gmail(dot)com> |
|---|---|
| To: | "Sean Davis" <sdavis2(at)mail(dot)nih(dot)gov> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Count and Results together |
| Date: | 2005-05-19 06:58:13 |
| Message-ID: | op.sq0gbbkec8yns6@akela-mobile |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
I am using libpg.so. I tryed find solution for this problem in internet
but, I don't find nothing yet. I have idea get rowcount throught some
function write in C. Or is there any plan add this feature into PostgreSQL?
JOhn
On Wed, 18 May 2005 17:37:09 +0200, Sean Davis <sdavis2(at)mail(dot)nih(dot)gov>
wrote:
>
> On May 18, 2005, at 3:07 AM, Jan Sunavec wrote:
>
>> Hi
>>
>> Is possible use SELECT NUM_ROWS, a, b, c FROM blabla WHERE x =id; I
>> mean it's much more faster than
>>
>>
>> SELECT a, b, c FROM blabla WHERE x =id; and then
>> SELECT count(*) FROM blabla WHERE x =id;
>
> Can you do this on the client side? What client/interface are you using?
>
> There is a nice archive of the postgres mailing lists here:
> http://archives.postgresql.org/
>
> A quick search for ranks (not exactly what you want, but I think it has
> a useable solution in one of the posts) gets:
> http://archives.postgresql.org/pgsql-general/2005-05/msg00157.php
>
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | rama mohan | 2005-05-19 07:02:55 | Callable Statements are not supported at this time |
| Previous Message | palanivel.kumaran | 2005-05-19 06:01:57 | need clarification |