Re: [BUGS] BUG #6572: The example of SPI_execute is bogus - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: [BUGS] BUG #6572: The example of SPI_execute is bogus
Date
Msg-id CAFj8pRDM4Q92esE8_BadrrSUc=mRveZL-hdmRDr8CSY7YwnnNw@mail.gmail.com
Whole thread Raw
In response to Re: [BUGS] BUG #6572: The example of SPI_execute is bogus  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
2012/4/14 Peter Eisentraut <peter_e@gmx.net>:
> On lör, 2012-04-14 at 08:23 -0400, Robert Haas wrote:
>> On Sat, Apr 14, 2012 at 3:27 AM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
>> >> It has a lot of sense.  Without it, it's very difficult to do logical
>> >> replication on a table with no primary key.
>> >>
>> >> (Whether or not people should create such tables in the first place
>> >> is, of course, beside the point.)
>> >
>> > I am not against to functionality - I am against just to syntax DELETE
>> > FROM tab LIMIT x
>> >
>> > because is it ambiguous what means: DELETE FROM tab RETURNING * LIMIT x
>>
>> What's ambiguous about that?
>
> I suppose one could wonder whether the LIMIT applies to the deleting or
> just the returning.
>

yes, exactly

Regards

Pavel


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [BUGS] BUG #6572: The example of SPI_execute is bogus
Next
From: Peter Geoghegan
Date:
Subject: Re: Patch: add timing of buffer I/O requests