X-Original-To: pgsql-sql@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 98E6D475F16 for ; Thu, 10 Apr 2003 11:10:42 -0400 (EDT) Received: from nat.inquent.com (unknown [216.208.117.7]) by postgresql.org (Postfix) with ESMTP id ABD9A475EFD for ; Thu, 10 Apr 2003 11:10:41 -0400 (EDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by nat.inquent.com (8.12.8p1/8.12.8) with ESMTP id h3AFAgt7055865; Thu, 10 Apr 2003 11:10:42 -0400 (EDT) (envelope-from rbt@rbt.ca) Subject: Re: INSERT INTO ... SELECT (PostgreSQL vs. MySQL) From: Rod Taylor To: Ian Barwick Cc: pgsql-sql@postgresql.org In-Reply-To: <200304101627.43804.barwick@gmx.net> References: <200304101627.43804.barwick@gmx.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-EHEKy9moqLoke1+M//4F" Organization: Message-Id: <1049987441.55410.13.camel@jester> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 10 Apr 2003 11:10:42 -0400 X-Spam-Status: No, hits=-38.6 required=5.0 tests=BAYES_01,IN_REP_TO,PGP_SIGNATURE_2,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_XIMIAN autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/163 X-Sequence-Number: 12864 --=-EHEKy9moqLoke1+M//4F Content-Type: text/plain Content-Transfer-Encoding: quoted-printable > Can anyone shed light on whether the above statement (especially > the bit about "standard SQL") is correct? I can't get my head > around MySQL being more standards compliant than Postgres here... MySQL would have a tough time determining whether the tuple at the end of the table was a result of the current insert or not (possibly making a loop). PostgreSQL and most other major databases are perfectly capable of such acts, so they have extended the spec for obvious reasons -- it's a silly limitation to put in place for capable databases. --=20 Rod Taylor PGP Key: http://www.rbt.ca/rbtpub.asc --=-EHEKy9moqLoke1+M//4F Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+lYlx6DETLow6vwwRAhRwAJ0eqp66fu3VbT9vaGsVKMA1TyXeigCeJylP +WT7uwfyrtwZ6U5K8gnazzs= =Ncfc -----END PGP SIGNATURE----- --=-EHEKy9moqLoke1+M//4F--