From: Bruce Momjian <bruce@momjian.us>
To: jxliang999@126.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #13540: upsert is not good
Date: Thu, 6 Aug 2015 12:24:28 -0400
Message-ID: <20150806162428.GJ13687@momjian.us> (raw)
In-Reply-To: <20150806124824.1017.87312@wrigleys.postgresql.org>
References: <20150806124824.1017.87312@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
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: bruce@momjian.us, jxliang999@126.com
Subject: Re: BUG #13540: upsert is not good
In-Reply-To: <20150806162428.GJ13687@momjian.us>
References: <20150806124824.1017.87312@wrigleys.postgresql.org> <20150806162428.GJ13687@momjian.us>
* 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