pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: 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: Sat, 14 Apr 2012 19:15:59 +0300
Message-ID: <1334420159.9019.38.camel@vanquo.pezone.net> (raw)
In-Reply-To: <CA+TgmoYL_GC=1OSpPFW=Qz_LVe6_y0x2qQ=GSgEx2NpFKYhPNw@mail.gmail.com>
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>

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.




view thread (20+ messages)  latest in thread

Message-ID: <1334420159.9019.38.camel@vanquo.pezone.net>
Permalink:  ../1334420159.9019.38.camel@vanquo.pezone.net/
Also on:    postgresql.org/message-id/1334420159.9019.38.camel@vanquo.pezone.net

 · 

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: 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: <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>

* 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