Re: [PATCH] add 'LIMIT' to dlr_pgsql

Alexander Malysh <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Stipe Tolj wrote:

> Alexander Malysh wrote:
> 
>> Hi,
>> 
>> attached patch adds again 'LIMIT 1' to dlr_pgsql because after Stipe's
>> fix for #190 we will delete and update to much row in postgresql.
>> 
>> Comments/votes please!
>> 
>> P.S. IMO: this should go into 1.4.1
> 
> Alex, pgsql docs say *explicitely* that LIMIT is *only* available for
> SELECT, not for UPDATE or DELETE?!?!?!?

Stipe, please _read_ the patch first before you write ;)
this patch uses 'limit 1' _only_ for select!

> 
> Stipe
> 
> mailto:stolj_{at}_wapme.de
> -------------------------------------------------------------------
> Wapme Systems AG
> 
> Vogelsanger Weg 80
> 40470 DÃŒsseldorf, NRW, Germany
> 
> phone: +49.211.74845.0
> fax: +49.211.74845.299
> 
> mailto:info_{at}_wapme-systems.de
> http://www.wapme-systems.de/
> -------------------------------------------------------------------

-- 
Thanks,
Alex
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.