pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: PFC <lists@boutiquenumerique.com>
Cc: Michael Fuhr <mike@fuhr.org>
Cc: lmeadors@apache.org
Cc: pgsql-sql@postgresql.org
Subject: Re: getting back autonumber just inserted
Date: Fri, 8 Jul 2005 08:27:46 -0500
Message-ID: <20050708132746.GA18363@wolff.to> (raw)
In-Reply-To: <op.stkqsbzith1vuj@localhost>
References: <42CD6B58.6060508@techevolution.be>
	<20050707201433.94901.qmail@web41013.mail.yahoo.com>
	<20050707203715.GA26528@winnie.fuhr.org>
	<a10a823c05070713473add03d7@mail.gmail.com>
	<20050707205725.GA28200@winnie.fuhr.org>
	<op.stkdygr8th1vuj@localhost>
	<20050707224452.GA50696@winnie.fuhr.org>
	<op.stkh4cegth1vuj@localhost>
	<20050708014950.GA3339@winnie.fuhr.org>
	<op.stkqsbzith1vuj@localhost>

On Fri, Jul 08, 2005 at 05:03:37 +0200,
  PFC <lists@boutiquenumerique.com> wrote:
> 
> 	It's the first time I see a MySQLism in postgres !

This has meaning in more ways than one.

> 	However I like it, cos it might subvert some MySQL users, and 
> 	provide  easy answers to The Weekly Question on the mailing list (ie where 
> is  AUTO_INCREMENT) ?

More likely people will shoot themselves in the foot with this feature and come
to the mailing list with questions that take even more time to figure out
than telling them how to use currval(pg_get_serial_sequence().

IMO it is a bad idea to include this feature and that no sane developer will
make use of it in applications.



view thread (30+ messages)  latest in thread

Message-ID: <20050708132746.GA18363@wolff.to>
Permalink:  ../20050708132746.GA18363@wolff.to/
Also on:    postgresql.org/message-id/20050708132746.GA18363@wolff.to

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: bruno@wolff.to, lists@boutiquenumerique.com, mike@fuhr.org, lmeadors@apache.org
  Subject: Re: getting back autonumber just inserted
  In-Reply-To: <20050708132746.GA18363@wolff.to>

* 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