Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 2507816137F4 for ; Wed, 2 May 2012 14:09:54 -0300 (ADT) Received: from mail-yw0-f46.google.com ([209.85.213.46]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SPd3p-00005V-4y for pgsql-docs@postgresql.org; Wed, 02 May 2012 17:09:53 +0000 Received: by yhmm54 with SMTP id m54so910963yhm.19 for ; Wed, 02 May 2012 10:09:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=wPhwojwWNGhvdRZMYUizIp2zzA3ShlGtXx9JOZAZIsI=; b=aoLzmxAg1e7ezFfICeBvJeSsKeHfDBer7L3ppIw6R22zz7/6qkE3fADvr/ux5DcTUe 7hEYOkTlxx7iMxa4ou3e70vq7R4q3K2yoVuA/dZT/n6ZeuN9W+T9N+IgUM93IleoBklt UngPi8K5LDpJqypFdQafzPcSF099/MqTQW2l+mCx0b1dguOxLka21AZjPU/pf/6oD8Rp gBfL33Mqx5XrJCt79X120t76MmE8WLZ7adBcVL2YvMZGe1oG6E9cT/oyzFAXB8egt3ch AGdc8qlOAIWQWN6d6v7lKSj5YpBrHi/QQiHdA+71mmsrTP7pfZDfr4FHUGiuqDOwDB5l hBlA== MIME-Version: 1.0 Received: by 10.42.177.4 with SMTP id bg4mr22074632icb.56.1335978580029; Wed, 02 May 2012 10:09:40 -0700 (PDT) Received: by 10.50.102.10 with HTTP; Wed, 2 May 2012 10:09:39 -0700 (PDT) In-Reply-To: References: <201112140139.pBE1dEo03975@momjian.us> <27416.1323836857@sss.pgh.pa.us> Date: Wed, 2 May 2012 13:09:39 -0400 Message-ID: Subject: Re: CREATE USER From: Robert Haas To: Jaime Casanova Cc: Tom Lane , Bruce Momjian , Scott Marlowe , pgsql-docs Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201205/1 X-Sequence-Number: 7326 On Tue, Apr 24, 2012 at 2:55 AM, Jaime Casanova wro= te: > On Tue, Dec 13, 2011 at 11:27 PM, Tom Lane wrote: >> Bruce Momjian writes: >>> Well, I know we support the new pg_dump dumping back to 7.1, but I don'= t >>> know what our policy is for accepting old dumps. >> >> We're still going to very large lengths to load pre-7.3 dumps; see >> for instance ConvertTriggerToFK() in trigger.c. =A0I'm not aware of any >> policy that would suggest blowing off pre-8.1 dumps should be >> acceptable. =A0Yeah, it's true that the *recommended* procedure is to >> use the newer pg_dump, but people aren't always in a position to do >> that. >> >> I think it might be sane to emit a WARNING suggesting that CREATEUSER >> might not mean what you think, but failing is probably not good. >> > > are we going to do this in this release? > i never was able to think in a good phrasing for this, though I actually think we should just leave this alone. There is a limitless number of things that someone could potentially be confused by if they fail to read the documentation, and we can't warn about all of them. Now, one thing we could do is add a deprecation warning, stating that CREATEUSER may be removed in a future release, assuming we want to eventually remove it. But I don't think warning people that CREATEUSER means SUPERUSER and not CREATEROLE is very helpful. --=20 Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company