Skip site navigation (1) Skip section navigation (2)

Re: [PATCH] Provide rowcount for utility SELECTs

From: Boszormenyi Zoltan <zb(at)cybertec(dot)at>
To: Hans-Juergen Schoenig <hs(at)cybertec(dot)at>
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Provide rowcount for utility SELECTs
Date: 2009-12-28 10:20:57
Message-ID: 4B388689.4090508@cybertec.at (view raw or flat)
Thread:
Lists: pgsql-hackers
Hans-Juergen Schoenig írta:
> hello ...
>
> just as a background info: this will have some positive side effects
> on embedded C programs which should be portable.

Not just embedded C programs, every driver that's
based on libpq and used PQcmdTuples() will
automatically see the benefit.

> informix, for instance, will also return a row count on those commands.
>
>    regards,
>
>       hans
>
>
>
> Pavel Stehule wrote:
>> 2009/12/28 Boszormenyi Zoltan <zb(at)cybertec(dot)at>:
>>  
>>> Hi,
>>>
>>> attached is a small patch that makes it possible for clients
>>> to receive row count for SELECT ... INTO ... and CREATE TABLE ... AS
>>> ...
>>>
>>> Comments?
>>>
>>>     
>>
>> good idea
>>
>> +1
>>
>> Pavel
>>
>>  
>>> Best regards,
>>> Zoltán Böszörményi
>>>
>>> -- 
>>> Bible has answers for everything. Proof:
>>> "But let your communication be, Yea, yea; Nay, nay: for whatsoever
>>> is more
>>> than these cometh of evil." (Matthew 5:37) - basics of digital
>>> technology.
>>> "May your kingdom come" - superficial description of plate tectonics
>>>
>>> ----------------------------------
>>> Zoltán Böszörményi
>>> Cybertec Schönig & Schönig GmbH
>>> http://www.postgresql.at/
>>>
>>>
>>>
>>> -- 
>>> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
>>> To make changes to your subscription:
>>> http://www.postgresql.org/mailpref/pgsql-hackers
>>>
>>>
>>>     
>>
>>   
>
>


-- 
Bible has answers for everything. Proof:
"But let your communication be, Yea, yea; Nay, nay: for whatsoever is more
than these cometh of evil." (Matthew 5:37) - basics of digital technology.
"May your kingdom come" - superficial description of plate tectonics

----------------------------------
Zoltán Böszörményi
Cybertec Schönig & Schönig GmbH
http://www.postgresql.at/


In response to

Responses

pgsql-hackers by date

Next:From: Simon RiggsDate: 2009-12-28 10:55:50
Subject: Re: Streaming Rep - 2-phase backups and reducing time to full replication
Previous:From: Hans-Juergen SchoenigDate: 2009-12-28 10:17:22
Subject: Re: [PATCH] Provide rowcount for utility SELECTs

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group