Received: from candle.pha.pa.us (root@s5-03.ppp.op.net [209.152.195.67]) by hub.org (8.10.1/8.10.1) with ESMTP id e5EEur857038 for ; Wed, 14 Jun 2000 10:56:53 -0400 (EDT) Received: (from pgman@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id KAA11732; Wed, 14 Jun 2000 10:42:39 -0400 (EDT) From: Bruce Momjian Message-Id: <200006141442.KAA11732@candle.pha.pa.us> Subject: Re: copy command and indexes In-Reply-To: <3.0.5.32.20000614135929.008104c0@fmol.5sigcmd.army.mil> "from Anthony E. Greene at Jun 14, 2000 01:59:29 pm" To: "Anthony E. Greene" Date: Wed, 14 Jun 2000 10:42:39 -0400 (EDT) CC: pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL77 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200006/88 > At 14:53 2000-06-13 -0500, Tim White wrote: > >When using the copy command to bulk load data, will it update the indexes, > >or do you have to explicitly drop and recreate the indexes? > > Only data tables are loaded. Indexes and other data must be recreated. Woh. COPY updates all indexes. -- Bruce Momjian | http://www.op.net/~candle pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026