X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id CA47D9DCA1C for ; Wed, 11 Jan 2006 21:41:07 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 40136-04 for ; Wed, 11 Jan 2006 21:41:11 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by postgresql.org (Postfix) with ESMTP id 974E09DCA25 for ; Wed, 11 Jan 2006 21:41:05 -0400 (AST) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.3/8.13.3) with ESMTP id k0C1ewIw009097 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 11 Jan 2006 18:41:02 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.4/8.13.4) with ESMTP id k0C1evhO089652; Wed, 11 Jan 2006 18:40:57 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.4/8.13.4/Submit) id k0C1evro089651; Wed, 11 Jan 2006 18:40:57 -0700 (MST) (envelope-from mfuhr) Date: Wed, 11 Jan 2006 18:40:57 -0700 From: Michael Fuhr To: Michael Glaesemann Cc: K C Lau , pgsql-performance@postgresql.org Subject: Re: indexes on primary and foreign keys Message-ID: <20060112014057.GA89601@winnie.fuhr.org> References: <1b8a973c0601111438m3e0b1cc0hf9c387a4a1d6791d@mail.gmail.com> <20060111232157.GA88829@winnie.fuhr.org> <6.2.1.2.0.20060112083033.02bb74c8@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.092 required=5 tests=[AWL=0.092] X-Spam-Score: 0.092 X-Spam-Level: X-Archive-Number: 200601/144 X-Sequence-Number: 16622 On Thu, Jan 12, 2006 at 10:26:58AM +0900, Michael Glaesemann wrote: > On Jan 12, 2006, at 9:36 , K C Lau wrote: > >>NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index > >>"cities_pkey" for table "cities" > > > >Is there a way to suppress this notice when I create tables in a > >script? > > Set[1] your log_min_messages to WARNING or higher[2]. Or client_min_messages, depending on where you don't want to see the notice. -- Michael Fuhr