pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #13540: upsert is not good
2+ messages / 2 participants
[nested] [flat]
* BUG #13540: upsert is not good
@ 2015-08-06 12:48 jxliang999@126.com
2015-08-06 16:24 ` Re: BUG #13540: upsert is not good Bruce Momjian <bruce@momjian.us>
0 siblings, 1 reply; 2+ messages in thread
From: jxliang999@126.com @ 2015-08-06 12:48 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged on the website:
Bug reference: 13540
Logged by: alex
Email address: jxliang999@126.com
PostgreSQL version: 9.5alpha1
Operating system: windows7
Description:
I am glad that you add insert and update on conflict function. But I suggest
it to be "insert or update into table..." because this seems much more
beaufiful to a strict programmer, thanks!
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #13540: upsert is not good
2015-08-06 12:48 BUG #13540: upsert is not good jxliang999@126.com
@ 2015-08-06 16:24 ` Bruce Momjian <bruce@momjian.us>
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Momjian @ 2015-08-06 16:24 UTC (permalink / raw)
To: jxliang999@126.com; +Cc: pgsql-bugs
On Thu, Aug 6, 2015 at 12:48:24PM +0000, jxliang999@126.com wrote:
> The following bug has been logged on the website:
>
> Bug reference: 13540
> Logged by: alex
> Email address: jxliang999@126.com
> PostgreSQL version: 9.5alpha1
> Operating system: windows7
> Description:
>
> I am glad that you add insert and update on conflict function. But I suggest
> it to be "insert or update into table..." because this seems much more
> beaufiful to a strict programmer, thanks!
We had a long discussion about this and decided that the syntax needed
for the UPDATE portion could not be mixed in with the INSERT portion.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ Everyone has their own god. +
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2015-08-06 16:24 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-08-06 12:48 BUG #13540: upsert is not good jxliang999@126.com
2015-08-06 16:24 ` Bruce Momjian <bruce@momjian.us>
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