Re: [GENERAL] Count and Results together

2005-05-20 Thread Edmund Bacon
[EMAIL PROTECTED] ("Jan Sunavec") writes: > I am using libpg.so. I assume that you mean libpq ? >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 Postgre

Re: [GENERAL] Count and Results together

2005-05-19 Thread Dawid Kuroczko
On 5/19/05, Dawid Kuroczko <[EMAIL PROTECTED]> wrote: > On 5/19/05, Jan Sunavec <[EMAIL PROTECTED]> wrote: > > 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 p

Re: [GENERAL] Count and Results together

2005-05-19 Thread Dawid Kuroczko
On 5/19/05, Jan Sunavec <[EMAIL PROTECTED]> wrote: > 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? Theoretically you could

Re: [GENERAL] Count and Results together

2005-05-19 Thread Martijn van Oosterhout
On Thu, May 19, 2005 at 08:58:13AM +0200, Jan Sunavec wrote: > 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? You're mi

Re: [GENERAL] Count and Results together

2005-05-19 Thread Jan Sunavec
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 <[EMAIL PROTECTED]>

Re: [GENERAL] Count and Results together

2005-05-18 Thread Sean Davis
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/interfa

[GENERAL] Count and Results together

2005-05-18 Thread Jan Sunavec
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; John ---(end of broadcast)--- TIP 6: Have you searc