pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Boszormenyi Zoltan <zb@cybertec.at>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Hitoshi Harada <umi.tanuki@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: BUG #6572: The example of SPI_execute is bogus
Date: Sun, 15 Apr 2012 11:14:38 +0200
Message-ID: <4F8A917E.4020305@cybertec.at> (raw)
In-Reply-To: <1334420159.9019.38.camel@vanquo.pezone.net>
References: <E1SFFEX-0006wr-AT@wrigleys.postgresql.org>
	<25939.1333551641@sss.pgh.pa.us>
	<CAP7QgmkvMYAwYw1wXAtxbVOEYVeJs7hBUNFkbgssaCxc_FNa_w@mail.gmail.com>
	<CA+TgmobS_t4ixo+wEAx-KyhRzapYTapY06q0qSctFuGiOBSEmA@mail.gmail.com>
	<CAFj8pRD3WUDKC-q-EhCnraNXF9pyD9qSxGKQ0O=UkoHiisXAVQ@mail.gmail.com>
	<CA+Tgmob0yP0Y4FQG8Oi0KU0b8-24ZABL+0OAJr4YR2CgZDEasQ@mail.gmail.com>
	<CAFj8pRA7O2TWeYt5dfpLQAFieLB57qD4=_dL+c4mYfDbsBCt-Q@mail.gmail.com>
	<CA+TgmoYL_GC=1OSpPFW=Qz_LVe6_y0x2qQ=GSgEx2NpFKYhPNw@mail.gmail.com>
	<1334420159.9019.38.camel@vanquo.pezone.net>

2012-04-14 18:15 keltezéssel, Peter Eisentraut írta:
> 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.

Ambigous only in this order. LIMIT x RETURNING * wouldn't be.

-- 
----------------------------------
Zoltán Böszörményi
Cybertec Schönig&  Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt, Austria
Web: http://www.postgresql-support.de
      http://www.postgresql.at/




view thread (20+ messages)  latest in thread

Message-ID: <4F8A917E.4020305@cybertec.at>
Permalink:  ../4F8A917E.4020305@cybertec.at/
Also on:    postgresql.org/message-id/4F8A917E.4020305@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: zb@cybertec.at, peter_e@gmx.net, robertmhaas@gmail.com, pavel.stehule@gmail.com, umi.tanuki@gmail.com, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org
  Subject: Re: BUG #6572: The example of SPI_execute is bogus
  In-Reply-To: <4F8A917E.4020305@cybertec.at>
  References: <E1SFFEX-0006wr-AT@wrigleys.postgresql.org> <25939.1333551641@sss.pgh.pa.us> <CAP7QgmkvMYAwYw1wXAtxbVOEYVeJs7hBUNFkbgssaCxc_FNa_w@mail.gmail.com> <CA+TgmobS_t4ixo+wEAx-KyhRzapYTapY06q0qSctFuGiOBSEmA@mail.gmail.com> <CAFj8pRD3WUDKC-q-EhCnraNXF9pyD9qSxGKQ0O=UkoHiisXAVQ@mail.gmail.com> <CA+Tgmob0yP0Y4FQG8Oi0KU0b8-24ZABL+0OAJr4YR2CgZDEasQ@mail.gmail.com> <CAFj8pRA7O2TWeYt5dfpLQAFieLB57qD4=_dL+c4mYfDbsBCt-Q@mail.gmail.com> <CA+TgmoYL_GC=1OSpPFW=Qz_LVe6_y0x2qQ=GSgEx2NpFKYhPNw@mail.gmail.com> <1334420159.9019.38.camel@vanquo.pezone.net> <4F8A917E.4020305@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox